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