1 error[E0573]: expected type, found variant `foo::Foo::FooV`
2 --> $DIR/issue-30535.rs:16:8
4 LL | _: foo::Foo::FooV //~ ERROR expected type, found variant `foo::Foo::FooV`
5 | ^^^^^^^^^^^^^^ not a type
7 = help: there is an enum variant `foo::Foo::FooV`, try using `foo::Foo`?
9 error: aborting due to previous error
11 For more information about this error, try `rustc --explain E0573`.