1 warning: irrefutable while-let pattern
2 --> $DIR/while-let.rs:7:13
4 LL | while let $p = $e $b
8 LL | | println!("irrefutable pattern");
10 | |_______- in this macro invocation
12 = note: `#[warn(irrefutable_let_patterns)]` on by default
13 = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
15 warning: irrefutable while-let pattern
16 --> $DIR/while-let.rs:7:13
18 LL | while let $p = $e $b
19 | ^^^^^^^^^^^^^^^^^^^^
22 LL | | println!("irrefutable pattern");
24 | |_______- in this macro invocation
26 = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
28 warning: irrefutable while-let pattern
29 --> $DIR/while-let.rs:27:5
31 LL | / while let _a = 1 {
32 LL | | println!("irrefutable pattern");
37 warning: 3 warnings emitted