]> git.lizzy.rs Git - rust.git/blobdiff - tests/ui/enum_variants.stderr
Auto merge of #4478 - tsurai:master, r=flip1995
[rust.git] / tests / ui / enum_variants.stderr
index bd083e7e069147df907cc23af3e5226f51e6fd70..2835391de7f5838a7013ff98feb3357826c03df7 100644 (file)
@@ -1,7 +1,7 @@
 error: Variant name ends with the enum's name
   --> $DIR/enum_variants.rs:16:5
    |
-16 |     cFoo,
+LL |     cFoo,
    |     ^^^^
    |
    = note: `-D clippy::enum-variant-names` implied by `-D warnings`
@@ -9,29 +9,29 @@ error: Variant name ends with the enum's name
 error: Variant name starts with the enum's name
   --> $DIR/enum_variants.rs:27:5
    |
-27 |     FoodGood,
+LL |     FoodGood,
    |     ^^^^^^^^
 
 error: Variant name starts with the enum's name
   --> $DIR/enum_variants.rs:28:5
    |
-28 |     FoodMiddle,
+LL |     FoodMiddle,
    |     ^^^^^^^^^^
 
 error: Variant name starts with the enum's name
   --> $DIR/enum_variants.rs:29:5
    |
-29 |     FoodBad,
+LL |     FoodBad,
    |     ^^^^^^^
 
 error: All variants have the same prefix: `Food`
   --> $DIR/enum_variants.rs:26:1
    |
-26 | / enum Food {
-27 | |     FoodGood,
-28 | |     FoodMiddle,
-29 | |     FoodBad,
-30 | | }
+LL | / enum Food {
+LL | |     FoodGood,
+LL | |     FoodMiddle,
+LL | |     FoodBad,
+LL | | }
    | |_^
    |
    = help: remove the prefixes and use full paths to the variants instead of glob imports
@@ -39,59 +39,59 @@ error: All variants have the same prefix: `Food`
 error: All variants have the same prefix: `CallType`
   --> $DIR/enum_variants.rs:36:1
    |
-36 | / enum BadCallType {
-37 | |     CallTypeCall,
-38 | |     CallTypeCreate,
-39 | |     CallTypeDestroy,
-40 | | }
+LL | / enum BadCallType {
+LL | |     CallTypeCall,
+LL | |     CallTypeCreate,
+LL | |     CallTypeDestroy,
+LL | | }
    | |_^
    |
    = help: remove the prefixes and use full paths to the variants instead of glob imports
 
 error: All variants have the same prefix: `Constant`
-  --> $DIR/enum_variants.rs:47:1
+  --> $DIR/enum_variants.rs:48:1
    |
-47 | / enum Consts {
-48 | |     ConstantInt,
-49 | |     ConstantCake,
-50 | |     ConstantLie,
-51 | | }
+LL | / enum Consts {
+LL | |     ConstantInt,
+LL | |     ConstantCake,
+LL | |     ConstantLie,
+LL | | }
    | |_^
    |
    = help: remove the prefixes and use full paths to the variants instead of glob imports
 
 error: All variants have the same prefix: `With`
-  --> $DIR/enum_variants.rs:80:1
+  --> $DIR/enum_variants.rs:82:1
    |
-80 | / enum Seallll {
-81 | |     WithOutCake,
-82 | |     WithOutTea,
-83 | |     WithOut,
-84 | | }
+LL | / enum Seallll {
+LL | |     WithOutCake,
+LL | |     WithOutTea,
+LL | |     WithOut,
+LL | | }
    | |_^
    |
    = help: remove the prefixes and use full paths to the variants instead of glob imports
 
 error: All variants have the same prefix: `Prefix`
-  --> $DIR/enum_variants.rs:86:1
+  --> $DIR/enum_variants.rs:88:1
    |
-86 | / enum NonCaps {
-87 | |     Prefix的,
-88 | |     PrefixTea,
-89 | |     PrefixCake,
-90 | | }
+LL | / enum NonCaps {
+LL | |     Prefix的,
+LL | |     PrefixTea,
+LL | |     PrefixCake,
+LL | | }
    | |_^
    |
    = help: remove the prefixes and use full paths to the variants instead of glob imports
 
 error: All variants have the same prefix: `With`
-  --> $DIR/enum_variants.rs:92:1
+  --> $DIR/enum_variants.rs:94:1
    |
-92 | / pub enum PubSeall {
-93 | |     WithOutCake,
-94 | |     WithOutTea,
-95 | |     WithOut,
-96 | | }
+LL | / pub enum PubSeall {
+LL | |     WithOutCake,
+LL | |     WithOutTea,
+LL | |     WithOut,
+LL | | }
    | |_^
    |
    = note: `-D clippy::pub-enum-variant-names` implied by `-D warnings`