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