-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Lint: disallowed_macro #7790
Comments
@rustbot claim |
I can't figure out how to do this. With an LMK if I've missed anything, and anyone wants to try this you might find my attempt usefull |
@aDotInTheVoid This should be possible with |
I would like to give this a go |
Hi, apologies. Life has got in the way and I don't think I'll be able to work on this soon. Will unclaim in case someone else wants to. @rustbot release-assignment |
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
results in a lint.
The text was updated successfully, but these errors were encountered: