]>
Commit | Line | Data |
---|---|---|
0731742a XL |
1 | error[E0428]: the name `A` is defined multiple times |
2 | --> $DIR/issue-3099-a.rs:3:1 | |
8faf50e0 | 3 | | |
0731742a XL |
4 | LL | enum A { B, C } |
5 | | ------ previous definition of the type `A` here | |
923072b8 | 6 | LL | |
532ac7d7 | 7 | LL | enum A { D, E } |
0731742a | 8 | | ^^^^^^ `A` redefined here |
8faf50e0 | 9 | | |
0731742a | 10 | = note: `A` must be defined only once in the type namespace of this module |
8faf50e0 XL |
11 | |
12 | error: aborting due to previous error | |
13 | ||
14 | For more information about this error, try `rustc --explain E0428`. |