rust/tests/ui/resolve/issue-30535.rs
2023-01-11 09:32:08 +00:00

10 lines
168 B
Rust

// aux-build:issue-30535.rs
extern crate issue_30535 as foo;
fn bar(
_: foo::Foo::FooV //~ ERROR expected type, found variant `foo::Foo::FooV`
) {}
fn main() {}