summaryrefslogtreecommitdiffstats
path: root/src/test/ui/closures/2229_closure_analysis/issue-88118-2.stderr
blob: 15689023d818aad4e16f02a82deca31a1fcda53d (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: `#[warn(irrefutable_let_patterns)]` on by default
   = note: this pattern will always match, so the guard is useless
   = help: consider removing the guard and adding a `let` inside the match arm

warning: 1 warning emitted