fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error[E0573]: expected type, found variant `foo::Foo::FooV` 2 --> $DIR/issue-30535.rs:6:8 3 | 4LL | _: foo::Foo::FooV 5 | ^^^^^^^^^^^^^^ 6 | | 7 | not a type 8 | help: try using the variant's enum: `foo::Foo` 9 10error: aborting due to previous error 11 12For more information about this error, try `rustc --explain E0573`.