]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/enum_variants.rs
Ignore associated items in trait *implementations* when considering type complexity
[rust.git] / tests / ui / enum_variants.rs
index 4fefc0b43f1d93dbf55a153e4db1bd559baeab63..083f5143e6e4d75c662975f2f847b63d83ea41bb 100644 (file)
@@ -1,5 +1,4 @@
-#![feature(non_ascii_idents)]
-#![warn(clippy::enum_variant_names, clippy::pub_enum_variant_names)]
+#![warn(clippy::enum_variant_names)]
 #![allow(non_camel_case_types, clippy::upper_case_acronyms)]
 
 enum FakeCallType {
@@ -97,8 +96,8 @@ pub enum PubSeall {
     WithOut,
 }
 
-#[allow(clippy::pub_enum_variant_names)]
-mod allowed {
+#[allow(clippy::enum_variant_names)]
+pub mod allowed {
     pub enum PubAllowed {
         SomeThis,
         SomeThat,