]> git.proxmox.com Git - rustc.git/blob - src/test/ui/closures/2229_closure_analysis/migrations/issue-78720.stderr
New upstream version 1.67.1+dfsg1
[rustc.git] / src / test / ui / closures / 2229_closure_analysis / migrations / issue-78720.stderr
1 warning: irrefutable `if let` pattern
2 --> $DIR/issue-78720.rs:6:8
3 |
4 LL | 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
11 warning: 1 warning emitted
12