1 error[E0425]: cannot find function `log` in this scope
2 --> $DIR/bad-expr-path2.rs:6:5
4 LL | log(debug, m1::arguments);
5 | ^^^ not found in this scope
7 error[E0425]: cannot find value `debug` in this scope
8 --> $DIR/bad-expr-path2.rs:6:9
10 LL | log(debug, m1::arguments);
11 | ^^^^^ not found in this scope
13 error[E0423]: expected value, found module `m1::arguments`
14 --> $DIR/bad-expr-path2.rs:6:16
16 LL | log(debug, m1::arguments);
17 | ^^^^^^^^^^^^^ not a value
19 error[E0580]: main function has wrong type
20 --> $DIR/bad-expr-path2.rs:5:1
22 LL | fn main(arguments: Vec<String>) {
23 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ incorrect number of function parameters
25 = note: expected type `fn()`
26 found type `fn(std::vec::Vec<std::string::String>)`
28 error: aborting due to 4 previous errors
30 Some errors occurred: E0423, E0425, E0580.
31 For more information about an error, try `rustc --explain E0423`.