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
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`
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`
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`
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`
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`
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