-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Check for proc macros from within explicit_deref_methods
and do not lint on proc macro expansions
#15628
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
base: master
Are you sure you want to change the base?
Conversation
r? @Alexendoo rustbot has assigned @Alexendoo. Use |
This comment has been minimized.
This comment has been minimized.
Signed-off-by: Justus Flügel <[email protected]>
d2efe80
to
3840897
Compare
This PR was rebased onto a different master commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
I rebased ontop of latest |
3840897
to
fdcc34d
Compare
Sorry it took a while but finally got around to adding the comment. If anyone has any further review comments, they are very welcome :) |
Signed-off-by: Justus Flügel <[email protected]>
fdcc34d
to
3e65620
Compare
Adds a
is_from_proc_macro(...,...)
check to theexplicit_deref_methods
lint.Note that this is my first contribution to clippy and i am not 100% sure that this is how such bugs are intended to be fixed, so please be kind with any feedback, I appreciate that a lot! Thanks!
changelog: [
explicit_deref_methods
]: no longer triggers from within proc macro expansionsfixes #15168