]> git.lizzy.rs Git - rust.git/blob - tests/ui/resolve/bad-expr-path.rs
Rollup merge of #106692 - eggyal:mv-binary_heap.rs-binary_heap/mod.rs, r=Mark-Simulacrum
[rust.git] / tests / ui / resolve / bad-expr-path.rs
1 mod m1 {}
2
3 fn main(arguments: Vec<String>) { //~ ERROR `main` function has wrong type
4     log(debug, m1::arguments);
5     //~^ ERROR cannot find function `log` in this scope
6     //~| ERROR cannot find value `debug` in this scope
7     //~| ERROR cannot find value `arguments` in module `m1`
8 }