]> git.lizzy.rs Git - rust.git/blob - tests/ui/try-block/try-block-catch.stderr
Rollup merge of #103702 - WaffleLapkin:lift-sized-bounds-from-pointer-methods-where...
[rust.git] / tests / 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