1 error[E0658]: `if let` guards are experimental
2 --> $DIR/issue-93150.rs:3:11
4 LL | _ if let true = true && true => {}
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
7 = note: see issue #51114 <https://github.com/rust-lang/rust/issues/51114> for more information
8 = help: add `#![feature(if_let_guard)]` to the crate attributes to enable
9 = help: you can write `if matches!(<expr>, <pattern>)` instead of `if let <pattern> = <expr>`
11 error[E0658]: `let` expressions in this position are unstable
12 --> $DIR/issue-93150.rs:3:14
14 LL | _ if let true = true && true => {}
17 = note: see issue #53667 <https://github.com/rust-lang/rust/issues/53667> for more information
18 = help: add `#![feature(let_chains)]` to the crate attributes to enable
20 error: aborting due to 2 previous errors
22 For more information about this error, try `rustc --explain E0658`.