]> git.lizzy.rs Git - rust.git/blob - src/test/ui/try-block/try-block-in-match.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / try-block / try-block-in-match.stderr
1 error: expected expression, found reserved keyword `try`
2   --> $DIR/try-block-in-match.rs:16:11
3    |
4 LL |     match try { false } { _ => {} } //~ ERROR expected expression, found reserved keyword `try`
5    |           ^^^ expected expression
6
7 error: aborting due to previous error
8