13 lines
435 B
Plaintext
13 lines
435 B
Plaintext
warning: irrefutable `if let` guard pattern
|
|
--> $DIR/issue-88118-2.rs:10:29
|
|
|
|
|
LL | Registry if let _ = registry.try_find_description() => { }
|
|
| ^
|
|
|
|
|
= note: this pattern will always match, so the guard is useless
|
|
= help: consider removing the guard and adding a `let` inside the match arm
|
|
= note: `#[warn(irrefutable_let_patterns)]` on by default
|
|
|
|
warning: 1 warning emitted
|
|
|