summaryrefslogtreecommitdiffstats
path: root/tests/ui/imports/import2.rs
blob: 036d6bc07e281f2f258f36d6611d48be7c31c727 (plain)
1
2
3
4
5
6
7
8
9
10
use baz::zed::bar; //~ ERROR unresolved import `baz::zed` [E0432]
                   //~^ could not find `zed` in `baz`

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