summaryrefslogtreecommitdiffstats
path: root/src/test/ui/resolve/bad-expr-path2.rs
blob: eb88edb9071ef0ddc8428ca79adf4017385d126b (plain)
1
2
3
4
5
6
7
8
9
10
mod m1 {
    pub mod arguments {}
}

fn main(arguments: Vec<String>) { //~ ERROR `main` function has wrong type
    log(debug, m1::arguments);
    //~^ ERROR cannot find function `log` in this scope
    //~| ERROR cannot find value `debug` in this scope
    //~| ERROR expected value, found module `m1::arguments`
}