2021-08-08 11:49:13 -03:00
|
|
|
warning: unreachable block in `if` or `while` expression
|
2019-09-01 17:30:19 -04:00
|
|
|
--> $DIR/protect-precedences.rs:13:41
|
|
|
|
|
|
|
|
|
LL | if let _ = return true && false {};
|
2021-08-08 11:49:13 -03:00
|
|
|
| -------------------- ^^ unreachable block in `if` or `while` expression
|
2019-09-21 12:33:02 -07:00
|
|
|
| |
|
|
|
|
| any code following this expression is unreachable
|
2019-09-01 17:30:19 -04:00
|
|
|
|
|
|
|
|
= note: `#[warn(unreachable_code)]` on by default
|
|
|
|
|
2020-03-11 16:30:09 +01:00
|
|
|
warning: 1 warning emitted
|
|
|
|
|