We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc2fcfa commit a396a29Copy full SHA for a396a29
src/lib.rs
@@ -307,6 +307,7 @@
307
clippy::default_trait_access,
308
clippy::doc_markdown,
309
clippy::if_not_else,
310
+ clippy::items_after_statements,
311
clippy::match_like_matches_macro,
312
clippy::module_name_repetitions,
313
clippy::shadow_unrelated,
src/receiver.rs
@@ -88,6 +88,7 @@ impl VisitMut for HasSelf {
88
pub struct ReplaceSelf(pub Span);
89
90
impl ReplaceSelf {
91
+ #[cfg_attr(not(self_span_hack), allow(clippy::unused_self))]
92
fn prepend_underscore_to_self(&self, ident: &mut Ident) -> bool {
93
let modified = ident == "self";
94
if modified {
0 commit comments