fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0532]: expected unit struct, unit variant or constant, found tuple variant `MyEnum::Tuple` 2 --> $DIR/issue-63983.rs:8:9 3 | 4LL | Tuple(i32), 5 | ---------- `MyEnum::Tuple` defined here 6... 7LL | MyEnum::Tuple => "", 8 | ^^^^^^^^^^^^^ help: use the tuple variant pattern syntax instead: `MyEnum::Tuple(_)` 9 10error[E0533]: expected unit struct, unit variant or constant, found struct variant `MyEnum::Struct` 11 --> $DIR/issue-63983.rs:10:9 12 | 13LL | MyEnum::Struct => "", 14 | ^^^^^^^^^^^^^^ not a unit struct, unit variant or constant 15 16error: aborting due to 2 previous errors 17 18Some errors have detailed explanations: E0532, E0533. 19For more information about an error, try `rustc --explain E0532`.