]>
Commit | Line | Data |
---|---|---|
223e47cc LB |
1 | mod circ1 { |
2 | pub use circ2::f2; | |
1a4d82fc | 3 | pub fn f1() { println!("f1"); } |
c34b1796 | 4 | pub fn common() -> usize { return 0; } |
223e47cc LB |
5 | } |
6 | ||
7 | mod circ2 { | |
8 | pub use circ1::f1; | |
1a4d82fc | 9 | pub fn f2() { println!("f2"); } |
c34b1796 | 10 | pub fn common() -> usize { return 1; } |
223e47cc LB |
11 | } |
12 | ||
13 | mod test { | |
14 | use circ1::*; | |
15 | ||
32a655c1 | 16 | fn test() { f1066(); } //~ ERROR cannot find function `f1066` in this scope |
223e47cc | 17 | } |
b7449926 XL |
18 | |
19 | fn main() {} |