]> git.lizzy.rs Git - rust.git/blob - tests/ui/resolve/bad-expr-path2.rs
Rollup merge of #106323 - starkat99:stabilize-f16c_target_feature, r=petrochenkov
[rust.git] / tests / ui / resolve / bad-expr-path2.rs
1 mod m1 {
2     pub mod arguments {}
3 }
4
5 fn main(arguments: Vec<String>) { //~ ERROR `main` function has wrong type
6     log(debug, m1::arguments);
7     //~^ ERROR cannot find function `log` in this scope
8     //~| ERROR cannot find value `debug` in this scope
9     //~| ERROR expected value, found module `m1::arguments`
10 }