]> git.lizzy.rs Git - rust.git/blob - src/test/ui/enum/enum-variant-type-2.stderr
move interface to the unikernel in the crate hermit-abi
[rust.git] / src / test / ui / enum / enum-variant-type-2.stderr
1 error[E0573]: expected type, found variant `Foo::Bar`
2   --> $DIR/enum-variant-type-2.rs:7:11
3    |
4 LL | fn foo(x: Foo::Bar) {}
5    |           ^^^^^^^^
6    |           |
7    |           not a type
8    |           help: try using the variant's enum: `Foo`
9
10 error: aborting due to previous error
11