rust/src/test/ui/try-block/try-block-catch.stderr

11 lines
284 B
Plaintext
Raw Normal View History

error: `try {} catch` is not a valid syntax
--> $DIR/try-block-catch.rs:8:7
|
LL | } catch { }; //~ ERROR `try {} catch` is not a valid syntax
| ^^^^^
|
= help: try using `match` on the result of the `try` block instead
error: aborting due to previous error