]> git.proxmox.com Git - rustc.git/blame - tests/ui/repr/transparent-enum-too-many-variants.stderr
New upstream version 1.76.0+dfsg1
[rustc.git] / tests / ui / repr / transparent-enum-too-many-variants.stderr
CommitLineData
9c376795
FG
1error[E0731]: transparent enum needs exactly one variant, but has 2
2 --> $DIR/transparent-enum-too-many-variants.rs:4:1
3 |
4LL | enum Foo {
5 | ^^^^^^^^ needs exactly one variant, but has 2
6LL | A(u8), B(u8),
7 | - - too many variants in `Foo`
49aad941
FG
8 | |
9 | variant here
9c376795 10
4b012472 11error: aborting due to 1 previous error
9c376795
FG
12
13For more information about this error, try `rustc --explain E0731`.