fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
523 B16 linesraw
1error[E0658]: `try` expression is experimental
2  --> $DIR/feature-gate-try_blocks.rs:4:33
3   |
4LL |       let try_result: Option<_> = try {
5   |  _________________________________^
6LL | |         let x = 5;
7LL | |         x
8LL | |     };
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
14error: aborting due to previous error
15
16For more information about this error, try `rustc --explain E0658`.