]> git.proxmox.com Git - rustc.git/blob - src/test/ui/feature-gates/feature-gate-try_blocks.stderr
New upstream version 1.36.0+dfsg1
[rustc.git] / src / test / ui / feature-gates / feature-gate-try_blocks.stderr
1 error[E0658]: `try` expression is experimental
2 --> $DIR/feature-gate-try_blocks.rs:4:33
3 |
4 LL | let try_result: Option<_> = try {
5 | _________________________________^
6 LL | | let x = 5;
7 LL | | x
8 LL | | };
9 | |_____^
10 |
11 = note: for more information, see https://github.com/rust-lang/rust/issues/31436
12 = help: add #![feature(try_blocks)] to the crate attributes to enable
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0658`.