fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
353 B12 linesraw
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`.