blob: 34b3eab2345bd42e54ffbb52f7ed8960ec9a635f [file] [log] [blame]
warning: irrefutable `if let` guard pattern
--> $DIR/issue-88118-2.rs:10:25
|
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