Files
rust/src/test/ui/feature-gate-catch_expr.stderr

16 lines
501 B
Plaintext
Raw Normal View History

error[E0658]: `catch` expression is experimental (see issue #31436)
--> $DIR/feature-gate-catch_expr.rs:12:24
|
2018-02-23 03:42:32 +03:00
LL | let catch_result = do catch { //~ ERROR `catch` expression is experimental
| ________________________^
2018-02-23 03:42:32 +03:00
LL | | let x = 5;
LL | | x
LL | | };
| |_____^
|
= help: add #![feature(catch_expr)] to the crate attributes to enable
error: aborting due to previous error
2018-02-19 21:40:25 +01:00
If you want more information on this error, try using "rustc --explain E0658"