]> git.proxmox.com Git - rustc.git/blob - tests/ui/resolve/bad-expr-path.stderr
411130913c8f02c0b22ca921372cece6e81106d6
[rustc.git] / tests / ui / resolve / bad-expr-path.stderr
1 error[E0425]: cannot find value `debug` in this scope
2 --> $DIR/bad-expr-path.rs:4:9
3 |
4 LL | log(debug, m1::arguments);
5 | ^^^^^ not found in this scope
6
7 error[E0425]: cannot find value `arguments` in module `m1`
8 --> $DIR/bad-expr-path.rs:4:20
9 |
10 LL | log(debug, m1::arguments);
11 | ^^^^^^^^^ not found in `m1`
12
13 error[E0580]: `main` function has wrong type
14 --> $DIR/bad-expr-path.rs:3:1
15 |
16 LL | fn main(arguments: Vec<String>) {
17 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ incorrect number of function parameters
18 |
19 = note: expected fn pointer `fn()`
20 found fn pointer `fn(Vec<String>)`
21
22 error[E0425]: cannot find function `log` in this scope
23 --> $DIR/bad-expr-path.rs:4:5
24 |
25 LL | log(debug, m1::arguments);
26 | ^^^ not found in this scope
27
28 error: aborting due to 4 previous errors
29
30 Some errors have detailed explanations: E0425, E0580.
31 For more information about an error, try `rustc --explain E0425`.