fork/rust

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

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
537 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: see issue #31436 <https://github.com/rust-lang/rust/issues/31436> for more information
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`.