rust/tests/ui/rfcs/rfc-2497-if-let-chains/protect-precedences.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
434 B
Plaintext
Raw Normal View History

2021-08-08 09:49:13 -05:00
warning: unreachable block in `if` or `while` expression
--> $DIR/protect-precedences.rs:13:41
|
LL | if let _ = return true && false {};
2021-08-08 09:49:13 -05:00
| -------------------- ^^ 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