fork/rust

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

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

master
342 B12 linesraw
1warning: irrefutable `if let` pattern
2  --> $DIR/issue-78720.rs:7:8
3   |
4LL |     if let a = "" {
5   |        ^^^^^^^^^^
6   |
7   = note: this pattern will always match, so the `if let` is useless
8   = help: consider replacing the `if let` with a `let`
9   = note: `#[warn(irrefutable_let_patterns)]` on by default
10
11warning: 1 warning emitted
12