blob: 185bcb4071be3a6967de11e292350b119c28ea42 (
plain)
1
2
3
4
5
6
7
8
9
10
|
error: keyword `catch` cannot follow a `try` block
--> $DIR/try-block-catch.rs:8:7
|
LL | } catch { };
| ^^^^^
|
= help: try using `match` on the result of the `try` block instead
error: aborting due to 1 previous error
|