1 error: Variant name ends with the enum's name
2 --> $DIR/enum_variants.rs:16:5
7 = note: `-D clippy::enum-variant-names` implied by `-D warnings`
9 error: Variant name starts with the enum's name
10 --> $DIR/enum_variants.rs:27:5
15 error: Variant name starts with the enum's name
16 --> $DIR/enum_variants.rs:28:5
21 error: Variant name starts with the enum's name
22 --> $DIR/enum_variants.rs:29:5
27 error: All variants have the same prefix: `Food`
28 --> $DIR/enum_variants.rs:26:1
37 = help: remove the prefixes and use full paths to the variants instead of glob imports
39 error: All variants have the same prefix: `CallType`
40 --> $DIR/enum_variants.rs:36:1
42 LL | / enum BadCallType {
44 LL | | CallTypeCreate,
45 LL | | CallTypeDestroy,
49 = help: remove the prefixes and use full paths to the variants instead of glob imports
51 error: All variants have the same prefix: `Constant`
52 --> $DIR/enum_variants.rs:48:1
61 = help: remove the prefixes and use full paths to the variants instead of glob imports
63 error: All variants have the same prefix: `With`
64 --> $DIR/enum_variants.rs:82:1
73 = help: remove the prefixes and use full paths to the variants instead of glob imports
75 error: All variants have the same prefix: `Prefix`
76 --> $DIR/enum_variants.rs:88:1
85 = help: remove the prefixes and use full paths to the variants instead of glob imports
87 error: All variants have the same prefix: `With`
88 --> $DIR/enum_variants.rs:94:1
90 LL | / pub enum PubSeall {
97 = note: `-D clippy::pub-enum-variant-names` implied by `-D warnings`
98 = help: remove the prefixes and use full paths to the variants instead of glob imports
100 error: aborting due to 10 previous errors