fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
402 B13 linesraw
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`
8   |     |
9   |     variant here
10
11error: aborting due to previous error
12
13For more information about this error, try `rustc --explain E0731`.