1error: variant name ends with the enum's name
2  --> $DIR/enum_variants.rs:15:5
3   |
4LL |     cFoo,
5   |     ^^^^
6   |
7   = note: `-D clippy::enum-variant-names` implied by `-D warnings`
8
9error: variant name starts with the enum's name
10  --> $DIR/enum_variants.rs:26:5
11   |
12LL |     FoodGood,
13   |     ^^^^^^^^
14
15error: variant name starts with the enum's name
16  --> $DIR/enum_variants.rs:27:5
17   |
18LL |     FoodMiddle,
19   |     ^^^^^^^^^^
20
21error: variant name starts with the enum's name
22  --> $DIR/enum_variants.rs:28:5
23   |
24LL |     FoodBad,
25   |     ^^^^^^^
26
27error: all variants have the same prefix: `Food`
28  --> $DIR/enum_variants.rs:25:1
29   |
30LL | / enum Food {
31LL | |     FoodGood,
32LL | |     FoodMiddle,
33LL | |     FoodBad,
34LL | | }
35   | |_^
36   |
37   = help: remove the prefixes and use full paths to the variants instead of glob imports
38
39error: all variants have the same prefix: `CallType`
40  --> $DIR/enum_variants.rs:35:1
41   |
42LL | / enum BadCallType {
43LL | |     CallTypeCall,
44LL | |     CallTypeCreate,
45LL | |     CallTypeDestroy,
46LL | | }
47   | |_^
48   |
49   = help: remove the prefixes and use full paths to the variants instead of glob imports
50
51error: all variants have the same prefix: `Constant`
52  --> $DIR/enum_variants.rs:47:1
53   |
54LL | / enum Consts {
55LL | |     ConstantInt,
56LL | |     ConstantCake,
57LL | |     ConstantLie,
58LL | | }
59   | |_^
60   |
61   = help: remove the prefixes and use full paths to the variants instead of glob imports
62
63error: all variants have the same prefix: `WithOut`
64  --> $DIR/enum_variants.rs:81:1
65   |
66LL | / enum Seallll {
67LL | |     WithOutCake,
68LL | |     WithOutTea,
69LL | |     WithOut,
70LL | | }
71   | |_^
72   |
73   = help: remove the prefixes and use full paths to the variants instead of glob imports
74
75error: all variants have the same prefix: `Prefix`
76  --> $DIR/enum_variants.rs:87:1
77   |
78LL | / enum NonCaps {
79LL | |     Prefix的,
80LL | |     PrefixTea,
81LL | |     PrefixCake,
82LL | | }
83   | |_^
84   |
85   = help: remove the prefixes and use full paths to the variants instead of glob imports
86
87error: all variants have the same postfix: `IData`
88  --> $DIR/enum_variants.rs:136:1
89   |
90LL | / enum IDataRequest {
91LL | |     PutIData(String),
92LL | |     GetIData(String),
93LL | |     DeleteUnpubIData(String),
94LL | | }
95   | |_^
96   |
97   = help: remove the postfixes and use full paths to the variants instead of glob imports
98
99error: all variants have the same postfix: `HIData`
100  --> $DIR/enum_variants.rs:142:1
101   |
102LL | / enum HIDataRequest {
103LL | |     PutHIData(String),
104LL | |     GetHIData(String),
105LL | |     DeleteUnpubHIData(String),
106LL | | }
107   | |_^
108   |
109   = help: remove the postfixes and use full paths to the variants instead of glob imports
110
111error: aborting due to 11 previous errors
112
113