fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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