about summary refs log tree commit diff
path: root/tests/ui/imports/import2.rs
blob: 731ccb6f41c2e96e381570a7e87b3bd6cd51194c (plain)
1
2
3
4
5
6
7
8
9
10
use baz::zed::bar; //~ ERROR unresolved import `baz::zed` [E0432]
                   //~^ NOTE could not find `zed` in `baz`

mod baz {}
mod zed {
    pub fn bar() { println!("bar3"); }
}
fn main() {
    bar();
}