@@ -491,10 +491,6 @@ LL | mac2!(0, 1);
491
491
= note: for more information, visit https://doc.rust-lang.org/book/ch18-02-refutability.html
492
492
= note: the matched value is of type `i32`
493
493
= 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
- | ++ +++++++++++
498
494
499
495
error[E0005]: refutable pattern in local binding
500
496
--> $DIR/recover-range-pats.rs:138:17
@@ -509,10 +505,6 @@ LL | mac2!(0, 1);
509
505
= note: for more information, visit https://doc.rust-lang.org/book/ch18-02-refutability.html
510
506
= note: the matched value is of type `i32`
511
507
= 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
- | ++ +++++++++++
516
508
517
509
error[E0005]: refutable pattern in local binding
518
510
--> $DIR/recover-range-pats.rs:142:17
@@ -527,10 +519,6 @@ LL | mac2!(0, 1);
527
519
= note: for more information, visit https://doc.rust-lang.org/book/ch18-02-refutability.html
528
520
= note: the matched value is of type `i32`
529
521
= 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
- | ++ +++++++++++
534
522
535
523
error[E0005]: refutable pattern in local binding
536
524
--> $DIR/recover-range-pats.rs:151:17
@@ -545,10 +533,6 @@ LL | mac!(0);
545
533
= note: for more information, visit https://doc.rust-lang.org/book/ch18-02-refutability.html
546
534
= note: the matched value is of type `i32`
547
535
= 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
- | ++ +++++++++++
552
536
553
537
error[E0005]: refutable pattern in local binding
554
538
--> $DIR/recover-range-pats.rs:153:17
@@ -563,10 +547,6 @@ LL | mac!(0);
563
547
= note: for more information, visit https://doc.rust-lang.org/book/ch18-02-refutability.html
564
548
= note: the matched value is of type `i32`
565
549
= 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
- | ++ +++++++++++
570
550
571
551
error[E0005]: refutable pattern in local binding
572
552
--> $DIR/recover-range-pats.rs:156:17
@@ -581,10 +561,6 @@ LL | mac!(0);
581
561
= note: for more information, visit https://doc.rust-lang.org/book/ch18-02-refutability.html
582
562
= note: the matched value is of type `i32`
583
563
= 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
- | ++ +++++++++++
588
564
589
565
error[E0005]: refutable pattern in local binding
590
566
--> $DIR/recover-range-pats.rs:158:17
@@ -599,10 +575,6 @@ LL | mac!(0);
599
575
= note: for more information, visit https://doc.rust-lang.org/book/ch18-02-refutability.html
600
576
= note: the matched value is of type `i32`
601
577
= 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
- | ++ +++++++++++
606
578
607
579
error[E0005]: refutable pattern in local binding
608
580
--> $DIR/recover-range-pats.rs:160:17
@@ -617,10 +589,6 @@ LL | mac!(0);
617
589
= note: for more information, visit https://doc.rust-lang.org/book/ch18-02-refutability.html
618
590
= note: the matched value is of type `i32`
619
591
= 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
- | ++ +++++++++++
624
592
625
593
error[E0005]: refutable pattern in local binding
626
594
--> $DIR/recover-range-pats.rs:162:17
@@ -635,10 +603,6 @@ LL | mac!(0);
635
603
= note: for more information, visit https://doc.rust-lang.org/book/ch18-02-refutability.html
636
604
= note: the matched value is of type `i32`
637
605
= 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
- | ++ +++++++++++
642
606
643
607
error: aborting due to 69 previous errors
644
608
0 commit comments