]> git.lizzy.rs Git - rust.git/blob - src/test/ui/imports/import-glob-circular.rs
Sync portable-simd to rust-lang/portable-simd@72df4c45056a8bc0d1b3f06fdc828722177f0763
[rust.git] / src / test / ui / imports / import-glob-circular.rs
1 mod circ1 {
2     pub use circ2::f2;
3     pub fn f1() { println!("f1"); }
4     pub fn common() -> usize { return 0; }
5 }
6
7 mod circ2 {
8     pub use circ1::f1;
9     pub fn f2() { println!("f2"); }
10     pub fn common() -> usize { return 1; }
11 }
12
13 mod test {
14     use circ1::*;
15
16     fn test() { f1066(); } //~ ERROR cannot find function `f1066` in this scope
17 }
18
19 fn main() {}