rust/tests/ui/try-block/try-block-catch.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
244 B
Plaintext
Raw Normal View History

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