]> git.lizzy.rs Git - rust.git/blob - tests/ui/imports/rfc-1560-warning-cycle.rs
Rollup merge of #106714 - Ezrashaw:remove-e0490, r=davidtwco
[rust.git] / tests / ui / imports / rfc-1560-warning-cycle.rs
1 pub struct Foo;
2
3 mod bar {
4     struct Foo;
5
6     mod baz {
7         use *;
8         use bar::*;
9         fn f(_: Foo) {} //~ ERROR `Foo` is ambiguous
10     }
11 }
12
13 fn main() {}