You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
antoyo opened this issue
Jan 6, 2018
· 1 comment
· Fixed by #4007
Labels
C-bugCategory: Clippy is not doing the correct thingE-mediumCall for participation: Medium difficulty level problem and requires some initial experience.T-macrosType: Issues with macros and macro expansion
Hello.
It seems that clippy does not respect the inline #[allow(…)] attributes.
For instance, the following code still triggers a warning:
#[allow(toplevel_ref_arg)]letrefmut x = 1234543;
Thanks to fix this issue.
The text was updated successfully, but these errors were encountered:
oli-obk
added
E-medium
Call for participation: Medium difficulty level problem and requires some initial experience.
C-bug
Category: Clippy is not doing the correct thing
labels
Jan 8, 2018
Allow allowing of toplevel_ref_arg lint
I'm not sure why some lints need the `HirId` to be able to recognize the
lint level attributes, but this commit makes the lint level attributes
work for `toplevel_ref_arg`.
Fixes#2332
changelog: Allow allowing of `toplevel_ref_arg` lint
C-bugCategory: Clippy is not doing the correct thingE-mediumCall for participation: Medium difficulty level problem and requires some initial experience.T-macrosType: Issues with macros and macro expansion
Hello.
It seems that clippy does not respect the inline
#[allow(…)]
attributes.For instance, the following code still triggers a warning:
Thanks to fix this issue.
The text was updated successfully, but these errors were encountered: