fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
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`.