2019-03-03 12:14:25 -08: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 12:14:25 -08:00
|
|
|
|
|
|
|
|
LL | callback(path.as_ref();
|
2021-08-27 10:57:28 +00:00
|
|
|
| ^ ^ help: `)` may belong here
|
2019-04-16 19:26:41 -03:00
|
|
|
| |
|
2019-03-03 12:45:49 -08: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 12:45:49 -08:00
|
|
|
|
|
|
|
|
LL | fs::create_dir_all(path.as_ref()).map(|()| true)
|
2019-10-28 11:08:53 -07:00
|
|
|
| - expected one of `.`, `;`, `?`, `}`, or an operator
|
2019-03-03 12:45:49 -08:00
|
|
|
LL | } else {
|
|
|
|
| ^ unexpected token
|
2016-12-01 01:35:25 +03:00
|
|
|
|
2017-01-12 01:18:08 +03: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-12-01 01:35:25 +03:00
|
|
|
|
|
2019-03-03 12:14:25 -08:00
|
|
|
LL | if !is_directory(path.as_ref()) {
|
2017-01-12 01:18:08 +03:00
|
|
|
| ^^^^^^^^^^^^ not found in this scope
|
2016-12-01 01:35:25 +03:00
|
|
|
|
2019-07-12 18:37:57 -07:00
|
|
|
error: aborting due to 3 previous errors
|
2016-12-01 01:35:25 +03:00
|
|
|
|
2019-07-12 18:37:57 -07:00
|
|
|
For more information about this error, try `rustc --explain E0425`.
|