2023-02-28 07:55:19 +00:00
|
|
|
error: mismatched closing delimiter: `}`
|
|
|
|
--> $DIR/token-error-correct-3.rs:12:21
|
2019-03-03 12:14:25 -08:00
|
|
|
|
|
2023-02-28 07:55:19 +00:00
|
|
|
LL | if !is_directory(path.as_ref()) {
|
|
|
|
| - closing delimiter possibly meant for this
|
2019-03-03 12:14:25 -08:00
|
|
|
LL | callback(path.as_ref();
|
2023-02-28 07:55:19 +00:00
|
|
|
| ^ unclosed delimiter
|
2019-03-03 12:45:49 -08:00
|
|
|
LL | fs::create_dir_all(path.as_ref()).map(|()| true)
|
|
|
|
LL | } else {
|
2023-02-28 07:55:19 +00:00
|
|
|
| ^ mismatched closing delimiter
|
2016-12-01 01:35:25 +03:00
|
|
|
|
2023-02-28 07:55:19 +00:00
|
|
|
error: aborting due to previous error
|
2016-12-01 01:35:25 +03:00
|
|
|
|