2019-03-03 20:14:25 +00:00
|
|
|
error: expected one of `)`, `,`, `.`, `?`, or an operator, found `;`
|
2021-08-27 10:57:28 +00:00
|
|
|
--> $DIR/token-error-correct-3.rs:13:21
|
2019-03-03 20:14:25 +00:00
|
|
|
|
|
|
|
|
LL | callback(path.as_ref();
|
2021-08-27 10:57:28 +00:00
|
|
|
| ^ ^ help: `)` may belong here
|
2019-04-16 22:26:41 +00:00
|
|
|
| |
|
2019-03-03 20:45:49 +00:00
|
|
|
| unclosed delimiter
|
|
|
|
|
|
|
|
error: expected one of `.`, `;`, `?`, `}`, or an operator, found `)`
|
2020-10-27 13:10:31 +00:00
|
|
|
--> $DIR/token-error-correct-3.rs:16:9
|
2019-03-03 20:45:49 +00:00
|
|
|
|
|
|
|
|
LL | fs::create_dir_all(path.as_ref()).map(|()| true)
|
2019-10-28 18:08:53 +00:00
|
|
|
| - expected one of `.`, `;`, `?`, `}`, or an operator
|
2019-03-03 20:45:49 +00:00
|
|
|
LL | } else {
|
|
|
|
| ^ unexpected token
|
2016-11-30 22:35:25 +00:00
|
|
|
|
2017-01-11 22:18:08 +00:00
|
|
|
error[E0425]: cannot find function `is_directory` in this scope
|
2020-10-27 13:10:31 +00:00
|
|
|
--> $DIR/token-error-correct-3.rs:11:13
|
2016-11-30 22:35:25 +00:00
|
|
|
|
|
2019-03-03 20:14:25 +00:00
|
|
|
LL | if !is_directory(path.as_ref()) {
|
2017-01-11 22:18:08 +00:00
|
|
|
| ^^^^^^^^^^^^ not found in this scope
|
2016-11-30 22:35:25 +00:00
|
|
|
|
2019-07-13 01:37:57 +00:00
|
|
|
error: aborting due to 3 previous errors
|
2016-11-30 22:35:25 +00:00
|
|
|
|
2019-07-13 01:37:57 +00:00
|
|
|
For more information about this error, try `rustc --explain E0425`.
|