The clippy lint disallowed_methods would allow us to automatically check for any occurrence of specify macros or methods by generating clippy warnings (getting blocked by CI).
For example vec![] could be blocked, but matches!() and log::{debug, error, info, trace, warn} could be allowed