2019-04-10 12:35:48 -05:00
|
|
|
error: `try {} catch` is not a valid syntax
|
2019-04-10 14:14:53 -05:00
|
|
|
--> $DIR/try-block-catch.rs:8:7
|
2019-04-10 12:35:48 -05:00
|
|
|
|
|
|
|
|
LL | } catch { }; //~ ERROR `try {} catch` is not a valid syntax
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
= help: try using `match` on the result of the `try` block instead
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|