rust/tests/ui/resolve/issue-30535.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
168 B
Rust
Raw Normal View History

// 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() {}