]> git.proxmox.com Git - rustc.git/blame - tests/ui/resolve/issue-3099-a.stderr
New upstream version 1.74.1+dfsg1
[rustc.git] / tests / ui / resolve / issue-3099-a.stderr
CommitLineData
0731742a
XL
1error[E0428]: the name `A` is defined multiple times
2 --> $DIR/issue-3099-a.rs:3:1
8faf50e0 3 |
0731742a
XL
4LL | enum A { B, C }
5 | ------ previous definition of the type `A` here
923072b8 6LL |
532ac7d7 7LL | 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
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0428`.