]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-let_else.stderr
parser will not give wrong help message for 'public'
[rust.git] / src / test / ui / feature-gates / feature-gate-let_else.stderr
1 error[E0658]: `let...else` statements are unstable
2   --> $DIR/feature-gate-let_else.rs:2:5
3    |
4 LL | /     let Some(x) = Some(1) else {
5 LL | |         return;
6 LL | |     };
7    | |______^
8    |
9    = note: see issue #87335 <https://github.com/rust-lang/rust/issues/87335> for more information
10    = help: add `#![feature(let_else)]` to the crate attributes to enable
11
12 error: aborting due to previous error
13
14 For more information about this error, try `rustc --explain E0658`.