Closed
Description
What it does
Disallows certain macros, as defined in clippy.toml.
Equivalent to the disallowed_method
lint, but for macros instead of methods.
Drawbacks
It may be cleaner to add support for macros to the existing disallowed_method
lint.
Example
# clippy.toml
disallowed-macros = ["eyre::anyhow"]
...
let f = eyre::anyhow!("foobar");
...
results in a lint.