os-rust/src/test/ui/while-let.stderr

22 lines
630 B
Text
Raw Normal View History

2018-08-08 14:28:26 +02:00
error[E0165]: irrefutable while-let pattern
2018-12-25 08:56:47 -07:00
--> $DIR/while-let.rs:13:10
2018-08-08 14:28:26 +02:00
|
LL | foo!(a, 1, { //~ ERROR irrefutable while-let
| ^ irrefutable pattern
error[E0165]: irrefutable while-let pattern
2018-12-25 08:56:47 -07:00
--> $DIR/while-let.rs:16:10
2018-08-08 14:28:26 +02:00
|
LL | bar!(a, 1, { //~ ERROR irrefutable while-let
| ^ irrefutable pattern
error[E0165]: irrefutable while-let pattern
2018-12-25 08:56:47 -07:00
--> $DIR/while-let.rs:22:15
2018-08-08 14:28:26 +02:00
|
LL | while let a = 1 { //~ ERROR irrefutable while-let
| ^ irrefutable pattern
error: aborting due to 3 previous errors
For more information about this error, try `rustc --explain E0165`.