rust/tests/ui/resolve/issue-30535.rs
2024-02-16 20:02:50 +00:00

10 lines
169 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() {}