@@ -652,7 +652,7 @@ fn codegen_stmt<'tcx>(
652
652
lval. write_cvalue ( fx, res) ;
653
653
}
654
654
Rvalue :: Cast (
655
- CastKind :: PointerCoercion ( PointerCoercion :: ReifyFnPointer ) ,
655
+ CastKind :: PointerCoercion ( PointerCoercion :: ReifyFnPointer , _ ) ,
656
656
ref operand,
657
657
to_ty,
658
658
) => {
@@ -677,7 +677,7 @@ fn codegen_stmt<'tcx>(
677
677
}
678
678
}
679
679
Rvalue :: Cast (
680
- CastKind :: PointerCoercion ( PointerCoercion :: UnsafeFnPointer ) ,
680
+ CastKind :: PointerCoercion ( PointerCoercion :: UnsafeFnPointer , _ ) ,
681
681
ref operand,
682
682
to_ty,
683
683
) => {
@@ -688,6 +688,7 @@ fn codegen_stmt<'tcx>(
688
688
Rvalue :: Cast (
689
689
CastKind :: PointerCoercion (
690
690
PointerCoercion :: MutToConstPointer | PointerCoercion :: ArrayToPointer ,
691
+ _,
691
692
) ,
692
693
..,
693
694
) => {
@@ -741,7 +742,7 @@ fn codegen_stmt<'tcx>(
741
742
}
742
743
}
743
744
Rvalue :: Cast (
744
- CastKind :: PointerCoercion ( PointerCoercion :: ClosureFnPointer ( _) ) ,
745
+ CastKind :: PointerCoercion ( PointerCoercion :: ClosureFnPointer ( _) , _ ) ,
745
746
ref operand,
746
747
_to_ty,
747
748
) => {
@@ -763,15 +764,15 @@ fn codegen_stmt<'tcx>(
763
764
}
764
765
}
765
766
Rvalue :: Cast (
766
- CastKind :: PointerCoercion ( PointerCoercion :: Unsize ) ,
767
+ CastKind :: PointerCoercion ( PointerCoercion :: Unsize , _ ) ,
767
768
ref operand,
768
769
_to_ty,
769
770
) => {
770
771
let operand = codegen_operand ( fx, operand) ;
771
772
crate :: unsize:: coerce_unsized_into ( fx, operand, lval) ;
772
773
}
773
774
Rvalue :: Cast (
774
- CastKind :: PointerCoercion ( PointerCoercion :: DynStar ) ,
775
+ CastKind :: PointerCoercion ( PointerCoercion :: DynStar , _ ) ,
775
776
ref operand,
776
777
_,
777
778
) => {
0 commit comments