@@ -491,10 +491,6 @@ LL | mac2!(0, 1);
491491 = note: for more information, visit https://doc.rust-lang.org/book/ch18-02-refutability.html
492492 = note: the matched value is of type `i32`
493493 = note: this error originates in the macro `mac2` (in Nightly builds, run with -Z macro-backtrace for more info)
494- help: you might want to use `if let` to ignore the variants that aren't matched
495- |
496- LL | if let $e1..$e2; { todo!() }
497- | ++ +++++++++++
498494
499495error[E0005]: refutable pattern in local binding
500496 --> $DIR/recover-range-pats.rs:138:17
@@ -509,10 +505,6 @@ LL | mac2!(0, 1);
509505 = note: for more information, visit https://doc.rust-lang.org/book/ch18-02-refutability.html
510506 = note: the matched value is of type `i32`
511507 = note: this error originates in the macro `mac2` (in Nightly builds, run with -Z macro-backtrace for more info)
512- help: you might want to use `if let` to ignore the variants that aren't matched
513- |
514- LL | if let $e1...$e2; { todo!() }
515- | ++ +++++++++++
516508
517509error[E0005]: refutable pattern in local binding
518510 --> $DIR/recover-range-pats.rs:142:17
@@ -527,10 +519,6 @@ LL | mac2!(0, 1);
527519 = note: for more information, visit https://doc.rust-lang.org/book/ch18-02-refutability.html
528520 = note: the matched value is of type `i32`
529521 = note: this error originates in the macro `mac2` (in Nightly builds, run with -Z macro-backtrace for more info)
530- help: you might want to use `if let` to ignore the variants that aren't matched
531- |
532- LL | if let $e1..=$e2; { todo!() }
533- | ++ +++++++++++
534522
535523error[E0005]: refutable pattern in local binding
536524 --> $DIR/recover-range-pats.rs:151:17
@@ -545,10 +533,6 @@ LL | mac!(0);
545533 = note: for more information, visit https://doc.rust-lang.org/book/ch18-02-refutability.html
546534 = note: the matched value is of type `i32`
547535 = note: this error originates in the macro `mac` (in Nightly builds, run with -Z macro-backtrace for more info)
548- help: you might want to use `if let` to ignore the variant that isn't matched
549- |
550- LL | if let ..$e; { todo!() }
551- | ++ +++++++++++
552536
553537error[E0005]: refutable pattern in local binding
554538 --> $DIR/recover-range-pats.rs:153:17
@@ -563,10 +547,6 @@ LL | mac!(0);
563547 = note: for more information, visit https://doc.rust-lang.org/book/ch18-02-refutability.html
564548 = note: the matched value is of type `i32`
565549 = note: this error originates in the macro `mac` (in Nightly builds, run with -Z macro-backtrace for more info)
566- help: you might want to use `if let` to ignore the variant that isn't matched
567- |
568- LL | if let ...$e; { todo!() }
569- | ++ +++++++++++
570550
571551error[E0005]: refutable pattern in local binding
572552 --> $DIR/recover-range-pats.rs:156:17
@@ -581,10 +561,6 @@ LL | mac!(0);
581561 = note: for more information, visit https://doc.rust-lang.org/book/ch18-02-refutability.html
582562 = note: the matched value is of type `i32`
583563 = note: this error originates in the macro `mac` (in Nightly builds, run with -Z macro-backtrace for more info)
584- help: you might want to use `if let` to ignore the variant that isn't matched
585- |
586- LL | if let ..=$e; { todo!() }
587- | ++ +++++++++++
588564
589565error[E0005]: refutable pattern in local binding
590566 --> $DIR/recover-range-pats.rs:158:17
@@ -599,10 +575,6 @@ LL | mac!(0);
599575 = note: for more information, visit https://doc.rust-lang.org/book/ch18-02-refutability.html
600576 = note: the matched value is of type `i32`
601577 = note: this error originates in the macro `mac` (in Nightly builds, run with -Z macro-backtrace for more info)
602- help: you might want to use `if let` to ignore the variant that isn't matched
603- |
604- LL | if let $e..; { todo!() }
605- | ++ +++++++++++
606578
607579error[E0005]: refutable pattern in local binding
608580 --> $DIR/recover-range-pats.rs:160:17
@@ -617,10 +589,6 @@ LL | mac!(0);
617589 = note: for more information, visit https://doc.rust-lang.org/book/ch18-02-refutability.html
618590 = note: the matched value is of type `i32`
619591 = note: this error originates in the macro `mac` (in Nightly builds, run with -Z macro-backtrace for more info)
620- help: you might want to use `if let` to ignore the variant that isn't matched
621- |
622- LL | if let $e...; { todo!() }
623- | ++ +++++++++++
624592
625593error[E0005]: refutable pattern in local binding
626594 --> $DIR/recover-range-pats.rs:162:17
@@ -635,10 +603,6 @@ LL | mac!(0);
635603 = note: for more information, visit https://doc.rust-lang.org/book/ch18-02-refutability.html
636604 = note: the matched value is of type `i32`
637605 = note: this error originates in the macro `mac` (in Nightly builds, run with -Z macro-backtrace for more info)
638- help: you might want to use `if let` to ignore the variant that isn't matched
639- |
640- LL | if let $e..=; { todo!() }
641- | ++ +++++++++++
642606
643607error: aborting due to 69 previous errors
644608
0 commit comments