fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
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 | ^^^^^^^^^^^^^ did you mean `MyEnum::Tuple( /* fields */ )`? 9 10error[E0532]: expected unit struct, unit variant or constant, found struct variant `MyEnum::Struct` 11 --> $DIR/issue-63983.rs:10:9 12 | 13LL | Struct{ s: i32 }, 14 | ---------------- `MyEnum::Struct` defined here 15... 16LL | MyEnum::Struct => "", 17 | ^^^^^^^^^^^^^^ did you mean `MyEnum::Struct { /* fields */ }`? 18 19error: aborting due to 2 previous errors 20 21For more information about this error, try `rustc --explain E0532`.