fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
435 B12 linesraw
1warning: irrefutable `if let` guard pattern
2  --> $DIR/issue-88118-2.rs:10:29
3   |
4LL |             Registry if let _ = registry.try_find_description() => { }
5   |                             ^
6   |
7   = note: this pattern will always match, so the guard is useless
8   = help: consider removing the guard and adding a `let` inside the match arm
9   = note: `#[warn(irrefutable_let_patterns)]` on by default
10
11warning: 1 warning emitted
12