fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error[E0532]: expected unit struct/variant or constant, found tuple variant `MyEnum::Tuple` 2 --> $DIR/issue-63983.rs:8:9 3 | 4LL | MyEnum::Tuple => "", 5 | ^^^^^^^^^^^^^ did you mean `MyEnum::Tuple ( /* fields */ )`? 6 7error[E0532]: expected unit struct/variant or constant, found struct variant `MyEnum::Struct` 8 --> $DIR/issue-63983.rs:10:9 9 | 10LL | MyEnum::Struct => "", 11 | ^^^^^^^^^^^^^^ did you mean `MyEnum::Struct { /* fields */ }`? 12 13error: aborting due to 2 previous errors 14 15For more information about this error, try `rustc --explain E0532`.