]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/enum_variants.stderr
Update changed ui tests
[rust.git] / tests / ui / enum_variants.stderr
index 876c4e827dc6480ccbf0956b0b83f8147463e3d4..e33e29ec78e1228452a834d1d42f93c01f0b48dd 100644 (file)
@@ -4,36 +4,25 @@ error: Variant name ends with the enum's name
 14 |     cFoo,
    |     ^^^^
    |
-   = note: #[deny(enum_variant_names)] implied by #[deny(clippy)]
-note: lint level defined here
-  --> $DIR/enum_variants.rs:3:9
-   |
-3  | #![deny(clippy, pub_enum_variant_names)]
-   |         ^^^^^^
+   = note: `-D enum-variant-names` implied by `-D warnings`
 
 error: Variant name starts with the enum's name
   --> $DIR/enum_variants.rs:25:5
    |
 25 |     FoodGood,
    |     ^^^^^^^^
-   |
-   = note: #[deny(enum_variant_names)] implied by #[deny(clippy)]
 
 error: Variant name starts with the enum's name
   --> $DIR/enum_variants.rs:26:5
    |
 26 |     FoodMiddle,
    |     ^^^^^^^^^^
-   |
-   = note: #[deny(enum_variant_names)] implied by #[deny(clippy)]
 
 error: Variant name starts with the enum's name
   --> $DIR/enum_variants.rs:27:5
    |
 27 |     FoodBad,
    |     ^^^^^^^
-   |
-   = note: #[deny(enum_variant_names)] implied by #[deny(clippy)]
 
 error: All variants have the same prefix: `Food`
   --> $DIR/enum_variants.rs:24:1
@@ -45,7 +34,6 @@ error: All variants have the same prefix: `Food`
 28 | | }
    | |_^
    |
-   = note: #[deny(enum_variant_names)] implied by #[deny(clippy)]
    = help: remove the prefixes and use full paths to the variants instead of glob imports
 
 error: All variants have the same prefix: `CallType`
@@ -58,7 +46,6 @@ error: All variants have the same prefix: `CallType`
 38 | | }
    | |_^
    |
-   = note: #[deny(enum_variant_names)] implied by #[deny(clippy)]
    = help: remove the prefixes and use full paths to the variants instead of glob imports
 
 error: All variants have the same prefix: `Constant`
@@ -71,7 +58,6 @@ error: All variants have the same prefix: `Constant`
 49 | | }
    | |_^
    |
-   = note: #[deny(enum_variant_names)] implied by #[deny(clippy)]
    = help: remove the prefixes and use full paths to the variants instead of glob imports
 
 error: All variants have the same prefix: `With`
@@ -84,7 +70,6 @@ error: All variants have the same prefix: `With`
 82 | | }
    | |_^
    |
-   = note: #[deny(enum_variant_names)] implied by #[deny(clippy)]
    = help: remove the prefixes and use full paths to the variants instead of glob imports
 
 error: All variants have the same prefix: `Prefix`
@@ -97,7 +82,6 @@ error: All variants have the same prefix: `Prefix`
 88 | | }
    | |_^
    |
-   = note: #[deny(enum_variant_names)] implied by #[deny(clippy)]
    = help: remove the prefixes and use full paths to the variants instead of glob imports
 
 error: All variants have the same prefix: `With`
@@ -110,11 +94,7 @@ error: All variants have the same prefix: `With`
 94 | | }
    | |_^
    |
-note: lint level defined here
-  --> $DIR/enum_variants.rs:3:17
-   |
-3  | #![deny(clippy, pub_enum_variant_names)]
-   |                 ^^^^^^^^^^^^^^^^^^^^^^
+   = note: `-D pub-enum-variant-names` implied by `-D warnings`
    = help: remove the prefixes and use full paths to the variants instead of glob imports
 
 error: aborting due to 10 previous errors