1 error[E0532]: expected unit struct, unit variant or constant, found tuple variant `Foo::Bar`
2 --> $DIR/issue-32004.rs:10:9
5 | -------- `Foo::Bar` defined here
7 | --- similarly named unit variant `Baz` defined here
12 help: use the tuple variant pattern syntax instead
14 LL | Foo::Bar(_) => {}
16 help: a unit variant with a similar name exists
21 error[E0532]: expected tuple struct or tuple variant, found unit struct `S`
22 --> $DIR/issue-32004.rs:16:9
25 | --------- `S` defined here
28 | ^^^^^ help: use this syntax instead: `S`
30 error: aborting due to 2 previous errors
32 For more information about this error, try `rustc --explain E0532`.