34 lines
808 B
Plaintext
34 lines
808 B
Plaintext
warning: irrefutable while-let pattern
|
|
--> $DIR/while-let.rs:7: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:7: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:25:5
|
|
|
|
|
LL | / while let _a = 1 {
|
|
LL | | println!("irrefutable pattern");
|
|
LL | | break;
|
|
LL | | }
|
|
| |_____^
|
|
|