@@ -447,7 +447,7 @@ LL | let &mut X(_t) = sm;
447
447
help: consider removing the mutable borrow
448
448
|
449
449
LL - let &mut X(_t) = sm;
450
- LL + let mut X(_t) = sm;
450
+ LL + let X(_t) = sm;
451
451
|
452
452
453
453
error[E0507]: cannot move out of `rm` as enum variant `One` which is behind a mutable reference
@@ -462,7 +462,7 @@ LL | if let &mut Either::One(_t) = rm { }
462
462
help: consider removing the mutable borrow
463
463
|
464
464
LL - if let &mut Either::One(_t) = rm { }
465
- LL + if let mut Either::One(_t) = rm { }
465
+ LL + if let Either::One(_t) = rm { }
466
466
|
467
467
468
468
error[E0507]: cannot move out of `rm` as enum variant `One` which is behind a mutable reference
@@ -477,7 +477,7 @@ LL | while let &mut Either::One(_t) = rm { }
477
477
help: consider removing the mutable borrow
478
478
|
479
479
LL - while let &mut Either::One(_t) = rm { }
480
- LL + while let mut Either::One(_t) = rm { }
480
+ LL + while let Either::One(_t) = rm { }
481
481
|
482
482
483
483
error[E0507]: cannot move out of `rm` as enum variant `Two` which is behind a mutable reference
@@ -496,12 +496,12 @@ LL | &mut Either::Two(_t) => (),
496
496
help: consider removing the mutable borrow
497
497
|
498
498
LL - &mut Either::One(_t) => (),
499
- LL + mut Either::One(_t) => (),
499
+ LL + Either::One(_t) => (),
500
500
|
501
501
help: consider removing the mutable borrow
502
502
|
503
503
LL - &mut Either::Two(_t) => (),
504
- LL + mut Either::Two(_t) => (),
504
+ LL + Either::Two(_t) => (),
505
505
|
506
506
507
507
error[E0507]: cannot move out of `rm` as enum variant `One` which is behind a mutable reference
@@ -519,7 +519,7 @@ LL | &mut Either::One(_t) => (),
519
519
help: consider removing the mutable borrow
520
520
|
521
521
LL - &mut Either::One(_t) => (),
522
- LL + mut Either::One(_t) => (),
522
+ LL + Either::One(_t) => (),
523
523
|
524
524
525
525
error[E0507]: cannot move out of `rm` as enum variant `One` which is behind a mutable reference
@@ -537,7 +537,7 @@ LL | &mut Either::One(_t) => (),
537
537
help: consider removing the mutable borrow
538
538
|
539
539
LL - &mut Either::One(_t) => (),
540
- LL + mut Either::One(_t) => (),
540
+ LL + Either::One(_t) => (),
541
541
|
542
542
543
543
error[E0507]: cannot move out of `rm` as enum variant `One` which is behind a mutable reference
@@ -555,7 +555,7 @@ LL | &mut Either::One(_t) => (),
555
555
help: consider removing the mutable borrow
556
556
|
557
557
LL - &mut Either::One(_t) => (),
558
- LL + mut Either::One(_t) => (),
558
+ LL + Either::One(_t) => (),
559
559
|
560
560
561
561
error[E0507]: cannot move out of a shared reference
@@ -792,7 +792,7 @@ LL | let &mut X(_t) = &mut xm;
792
792
help: consider removing the mutable borrow
793
793
|
794
794
LL - let &mut X(_t) = &mut xm;
795
- LL + let mut X(_t) = &mut xm;
795
+ LL + let X(_t) = &mut xm;
796
796
|
797
797
798
798
error[E0507]: cannot move out of a mutable reference
@@ -807,7 +807,7 @@ LL | if let &mut Either::One(_t) = &mut em { }
807
807
help: consider removing the mutable borrow
808
808
|
809
809
LL - if let &mut Either::One(_t) = &mut em { }
810
- LL + if let mut Either::One(_t) = &mut em { }
810
+ LL + if let Either::One(_t) = &mut em { }
811
811
|
812
812
813
813
error[E0507]: cannot move out of a mutable reference
@@ -822,7 +822,7 @@ LL | while let &mut Either::One(_t) = &mut em { }
822
822
help: consider removing the mutable borrow
823
823
|
824
824
LL - while let &mut Either::One(_t) = &mut em { }
825
- LL + while let mut Either::One(_t) = &mut em { }
825
+ LL + while let Either::One(_t) = &mut em { }
826
826
|
827
827
828
828
error[E0507]: cannot move out of a mutable reference
@@ -840,7 +840,7 @@ LL | &mut Either::One(_t)
840
840
help: consider removing the mutable borrow
841
841
|
842
842
LL - &mut Either::One(_t)
843
- LL + mut Either::One(_t)
843
+ LL + Either::One(_t)
844
844
|
845
845
846
846
error[E0507]: cannot move out of a mutable reference
@@ -858,7 +858,7 @@ LL | &mut Either::One(_t) => (),
858
858
help: consider removing the mutable borrow
859
859
|
860
860
LL - &mut Either::One(_t) => (),
861
- LL + mut Either::One(_t) => (),
861
+ LL + Either::One(_t) => (),
862
862
|
863
863
864
864
error[E0507]: cannot move out of a mutable reference
@@ -876,7 +876,7 @@ LL | &mut Either::One(_t) => (),
876
876
help: consider removing the mutable borrow
877
877
|
878
878
LL - &mut Either::One(_t) => (),
879
- LL + mut Either::One(_t) => (),
879
+ LL + Either::One(_t) => (),
880
880
|
881
881
882
882
error[E0507]: cannot move out of a mutable reference
@@ -894,7 +894,7 @@ LL | &mut Either::One(_t) => (),
894
894
help: consider removing the mutable borrow
895
895
|
896
896
LL - &mut Either::One(_t) => (),
897
- LL + mut Either::One(_t) => (),
897
+ LL + Either::One(_t) => (),
898
898
|
899
899
900
900
error[E0507]: cannot move out of a shared reference
@@ -924,7 +924,7 @@ LL | fn f2(&mut X(_t): &mut X) { }
924
924
help: consider removing the mutable borrow
925
925
|
926
926
LL - fn f2(&mut X(_t): &mut X) { }
927
- LL + fn f2(mut X(_t): &mut X) { }
927
+ LL + fn f2(X(_t): &mut X) { }
928
928
|
929
929
930
930
error[E0507]: cannot move out of a shared reference
0 commit comments