summaryrefslogtreecommitdiffstats
path: root/tests/ui/closures/2229_closure_analysis/migrations/issue-78720.stderr
blob: 36a80e694e82495acc2b3fd317fafb250b548fd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
warning: irrefutable `if let` pattern
  --> $DIR/issue-78720.rs:6:8
   |
LL |     if let a = "" {
   |        ^^^^^^^^^^
   |
   = note: this pattern will always match, so the `if let` is useless
   = help: consider replacing the `if let` with a `let`
   = note: `#[warn(irrefutable_let_patterns)]` on by default

warning: 1 warning emitted