mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-28 09:44:08 +00:00
13 lines
434 B
Plaintext
13 lines
434 B
Plaintext
warning: unreachable block in `if` or `while` expression
|
|
--> $DIR/protect-precedences.rs:13:41
|
|
|
|
|
LL | if let _ = return true && false {};
|
|
| -------------------- ^^ unreachable block in `if` or `while` expression
|
|
| |
|
|
| any code following this expression is unreachable
|
|
|
|
|
= note: `#[warn(unreachable_code)]` on by default
|
|
|
|
warning: 1 warning emitted
|
|
|