summary refs log tree commit diff
path: root/src/test/ui/bad/bad-expr-path2.rs
blob: 43bd2908042a50d239c105e0a2197ce8f66c7d48 (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`
}