fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

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