]> git.proxmox.com Git - rustc.git/blame - src/test/ui/imports/import-glob-circular.rs
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / imports / import-glob-circular.rs
CommitLineData
223e47cc
LB
1mod 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
7mod 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
13mod test {
14 use circ1::*;
15
32a655c1 16 fn test() { f1066(); } //~ ERROR cannot find function `f1066` in this scope
223e47cc 17}
b7449926
XL
18
19fn main() {}