Use clippy::disallowed_methods
to warn on macros
#1628
Labels
c-all
Affects all crates or the project as a whole
clippy::disallowed_methods
to warn on macros
#1628
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, butmatches!()
andlog::{debug, error, info, trace, warn}
could be allowedThe text was updated successfully, but these errors were encountered: