2018-08-08 07:28:26 -05:00
|
|
|
error[E0425]: cannot find value `debug` in this scope
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/bad-expr-path.rs:4:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | log(debug, m1::arguments);
|
|
|
|
| ^^^^^ not found in this scope
|
|
|
|
|
|
|
|
error[E0425]: cannot find value `arguments` in module `m1`
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/bad-expr-path.rs:4:20
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | log(debug, m1::arguments);
|
|
|
|
| ^^^^^^^^^ not found in `m1`
|
|
|
|
|
2020-01-04 18:17:46 -06:00
|
|
|
error[E0580]: `main` function has wrong type
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/bad-expr-path.rs:3:1
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | fn main(arguments: Vec<String>) {
|
2018-08-08 07:28:26 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ incorrect number of function parameters
|
|
|
|
|
|
2019-11-13 16:16:56 -06:00
|
|
|
= note: expected fn pointer `fn()`
|
2020-09-02 02:40:56 -05:00
|
|
|
found fn pointer `fn(Vec<String>)`
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2023-02-19 12:44:08 -06:00
|
|
|
error[E0425]: cannot find function `log` in this scope
|
|
|
|
--> $DIR/bad-expr-path.rs:4:5
|
|
|
|
|
|
|
|
|
LL | log(debug, m1::arguments);
|
|
|
|
| ^^^ not found in this scope
|
|
|
|
|
2018-08-08 07:28:26 -05:00
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|
2019-04-17 12:26:38 -05:00
|
|
|
Some errors have detailed explanations: E0425, E0580.
|
2018-08-08 07:28:26 -05:00
|
|
|
For more information about an error, try `rustc --explain E0425`.
|