]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/use_self.fixed
Ignore associated items in trait *implementations* when considering type complexity
[rust.git] / tests / ui / use_self.fixed
index e2c28542efc76e38c89aec06fc9bf7d670800dd6..4e33e343ce0e9c414b42abf6d5e73d6b488392c6 100644 (file)
@@ -1,10 +1,14 @@
 // run-rustfix
-// edition:2018
 // aux-build:proc_macro_derive.rs
 
 #![warn(clippy::use_self)]
 #![allow(dead_code)]
-#![allow(clippy::should_implement_trait, clippy::upper_case_acronyms, clippy::from_over_into)]
+#![allow(
+    clippy::should_implement_trait,
+    clippy::upper_case_acronyms,
+    clippy::from_over_into,
+    clippy::self_named_constructors
+)]
 
 #[macro_use]
 extern crate proc_macro_derive;