]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0425]: cannot find function `log` in this scope |
0731742a | 2 | --> $DIR/bad-expr-path.rs:4:5 |
b7449926 XL |
3 | | |
4 | LL | log(debug, m1::arguments); | |
5 | | ^^^ not found in this scope | |
6 | ||
7 | error[E0425]: cannot find value `debug` in this scope | |
0731742a | 8 | --> $DIR/bad-expr-path.rs:4:9 |
b7449926 XL |
9 | | |
10 | LL | log(debug, m1::arguments); | |
11 | | ^^^^^ not found in this scope | |
12 | ||
13 | error[E0425]: cannot find value `arguments` in module `m1` | |
0731742a | 14 | --> $DIR/bad-expr-path.rs:4:20 |
b7449926 XL |
15 | | |
16 | LL | log(debug, m1::arguments); | |
17 | | ^^^^^^^^^ not found in `m1` | |
18 | ||
19 | error[E0580]: main function has wrong type | |
0731742a | 20 | --> $DIR/bad-expr-path.rs:3:1 |
b7449926 | 21 | | |
532ac7d7 | 22 | LL | fn main(arguments: Vec<String>) { |
b7449926 XL |
23 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ incorrect number of function parameters |
24 | | | |
60c5eb7d XL |
25 | = note: expected fn pointer `fn()` |
26 | found fn pointer `fn(std::vec::Vec<std::string::String>)` | |
b7449926 XL |
27 | |
28 | error: aborting due to 4 previous errors | |
29 | ||
48663c56 | 30 | Some errors have detailed explanations: E0425, E0580. |
b7449926 | 31 | For more information about an error, try `rustc --explain E0425`. |