]> git.lizzy.rs Git - rust.git/blob - src/test/ui/should-fail-no_gate_irrefutable_if_let_pattern.stderr
Rollup merge of #53317 - estebank:abolish-ice, r=oli-obk
[rust.git] / src / test / ui / should-fail-no_gate_irrefutable_if_let_pattern.stderr
1 error[E0162]: irrefutable if-let pattern
2   --> $DIR/should-fail-no_gate_irrefutable_if_let_pattern.rs:13:12
3    |
4 LL |     if let _ = 5 {}
5    |            ^ irrefutable pattern
6
7 error: aborting due to previous error
8
9 For more information about this error, try `rustc --explain E0162`.