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