1 error[E0573]: expected type, found variant `foo::Foo::FooV`
2 --> $DIR/issue-30535.rs:6:8
8 | help: try using the variant's enum: `foo::Foo`
10 error: aborting due to previous error
12 For more information about this error, try `rustc --explain E0573`.