-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
A-lintArea: New lintsArea: New lints
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.
Metadata
Metadata
Assignees
Labels
A-lintArea: New lintsArea: New lints