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
246 B
Plaintext
Raw Normal View History

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