]> git.lizzy.rs Git - rust.git/blob - tests/ui/resolve/issue-30535.rs
Rollup merge of #106605 - notriddle:notriddle/outdated-rustbook, r=GuillaumeGomez
[rust.git] / tests / ui / resolve / issue-30535.rs
1 // aux-build:issue-30535.rs
2
3 extern crate issue_30535 as foo;
4
5 fn bar(
6     _: foo::Foo::FooV //~ ERROR expected type, found variant `foo::Foo::FooV`
7 ) {}
8
9 fn main() {}