1 warning: irrefutable `let...else` pattern
2 --> $DIR/let-else-irrefutable.rs:4:5
4 LL | let x = 1 else { return };
7 = note: this pattern will always match, so the `else` clause is useless
8 = help: consider removing the `else` clause
9 = note: `#[warn(irrefutable_let_patterns)]` on by default
11 warning: irrefutable `let...else` pattern
12 --> $DIR/let-else-irrefutable.rs:7:5
17 = note: this pattern will always match, so the `else` clause is useless
18 = help: consider removing the `else` clause
20 warning: 2 warnings emitted