2019-04-10 21:22:43 -05:00
|
|
|
error: keyword `catch` cannot follow a `try` block
|
2019-04-10 14:14:53 -05:00
|
|
|
--> $DIR/try-block-catch.rs:8:7
|
2019-04-10 12:35:48 -05:00
|
|
|
|
|
2019-04-10 16:39:51 -05:00
|
|
|
LL | } catch { };
|
2019-04-10 12:35:48 -05:00
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
= help: try using `match` on the result of the `try` block instead
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|