]> git.lizzy.rs Git - rust.git/blob - src/test/ui/rfc-2497-if-let-chains/protect-precedences.stderr
Rollup merge of #105758 - Nilstrieb:typeck-results-mod, r=compiler-errors
[rust.git] / src / test / ui / rfc-2497-if-let-chains / protect-precedences.stderr
1 warning: unreachable block in `if` or `while` expression
2   --> $DIR/protect-precedences.rs:13:41
3    |
4 LL |         if let _ = return true && false {};
5    |                    -------------------- ^^ unreachable block in `if` or `while` expression
6    |                    |
7    |                    any code following this expression is unreachable
8    |
9    = note: `#[warn(unreachable_code)]` on by default
10
11 warning: 1 warning emitted
12