summaryrefslogtreecommitdiffstats
path: root/src/test/ui/error-codes/E0659.rs
blob: c00026bb7a7102b7caf9e52577a851a6a88904f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
mod moon {
    pub fn foo() {}
}

mod earth {
    pub fn foo() {}
}

mod collider {
    pub use moon::*;
    pub use earth::*;
}

fn main() {
    collider::foo(); //~ ERROR E0659
}