]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-3099-a.stderr
Rollup merge of #92942 - Xaeroxe:raw_arg, r=dtolnay
[rust.git] / src / test / ui / issues / issue-3099-a.stderr
1 error[E0428]: the name `A` is defined multiple times
2   --> $DIR/issue-3099-a.rs:3:1
3    |
4 LL | enum A { B, C }
5    | ------ previous definition of the type `A` here
6 LL | 
7 LL | enum A { D, E }
8    | ^^^^^^ `A` redefined here
9    |
10    = note: `A` must be defined only once in the type namespace of this module
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0428`.