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