blob: b3cb558f976795475f99b1198256ef6437bfcc93 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
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
|