rust/tests/ui/closures/2229_closure_analysis/migrations/issue-78720.stderr
2023-01-11 09:32:08 +00:00

13 lines
342 B
Plaintext

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