about summary refs log tree commit diff
path: root/tests/ui/imports/import-loop-2.rs
blob: 42f9a07fff3896395c6e67876b73cb54790526a9 (plain)
1
2
3
4
5
6
7
8
9
10
11
mod a {
    pub use crate::b::x;
}

mod b {
    pub use crate::a::x; //~ ERROR unresolved import `crate::a::x`

    fn main() { let y = x; }
}

fn main() {}