summaryrefslogtreecommitdiffstats
path: root/src/test/ui/resolve/bad-expr-path.rs
blob: 31fc9cf2cb575620d7a02d6fa91c2470c8f0e73a (plain)
1
2
3
4
5
6
7
8
mod m1 {}

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 cannot find value `arguments` in module `m1`
}