34 lines
805 B
Plaintext
34 lines
805 B
Plaintext
warning: irrefutable while-let pattern
|
|
--> $DIR/while-let.rs:6:13
|
|
|
|
|
LL | while let $p = $e $b
|
|
| ^^^^^
|
|
...
|
|
LL | / foo!(a, 1, {
|
|
LL | | println!("irrefutable pattern");
|
|
LL | | });
|
|
| |_______- in this macro invocation
|
|
|
|
|
= note: `#[warn(irrefutable_let_patterns)]` on by default
|
|
|
|
warning: irrefutable while-let pattern
|
|
--> $DIR/while-let.rs:6:13
|
|
|
|
|
LL | while let $p = $e $b
|
|
| ^^^^^
|
|
...
|
|
LL | / bar!(a, 1, {
|
|
LL | | println!("irrefutable pattern");
|
|
LL | | });
|
|
| |_______- in this macro invocation
|
|
|
|
warning: irrefutable while-let pattern
|
|
--> $DIR/while-let.rs:24:5
|
|
|
|
|
LL | / while let a = 1 {
|
|
LL | | println!("irrefutable pattern");
|
|
LL | | break;
|
|
LL | | }
|
|
| |_____^
|
|
|