summaryrefslogtreecommitdiffstats
path: root/tests/ui/rfc-2497-if-let-chains/protect-precedences.stderr
blob: 24b35a2ab31672426a4ea1fddb2a2c3cd122a5ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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