1 error[E0532]: expected unit struct/variant or constant, found tuple variant `Foo::Bar`
2 --> $DIR/issue-32004.rs:20:9
9 error[E0532]: expected tuple struct/variant, found unit struct `S`
10 --> $DIR/issue-32004.rs:26:9
13 | ^ not a tuple struct/variant
15 error: aborting due to 2 previous errors
17 For more information about this error, try `rustc --explain E0532`.