]> git.proxmox.com Git - rustc.git/blob - src/test/ui/try-block/try-block-catch.stderr
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / test / ui / try-block / try-block-catch.stderr
1 error: keyword `catch` cannot follow a `try` block
2 --> $DIR/try-block-catch.rs:8:7
3 |
4 LL | } catch { };
5 | ^^^^^
6 |
7 = help: try using `match` on the result of the `try` block instead
8
9 error: aborting due to previous error
10