fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
920 B22 linesraw
1error[E0658]: `if let` guards are experimental
2  --> $DIR/issue-93150.rs:3:11
3   |
4LL |         _ if let true = true && true => {}
5   |           ^^^^^^^^^^^^^^^^^^^^^^^^^^
6   |
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>`
10
11error[E0658]: `let` expressions in this position are unstable
12  --> $DIR/issue-93150.rs:3:14
13   |
14LL |         _ if let true = true && true => {}
15   |              ^^^^^^^^^^^^^^^
16   |
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
19
20error: aborting due to 2 previous errors
21
22For more information about this error, try `rustc --explain E0658`.