remove retag_box_to_raw, it is no longer needed · rust-lang/rust@bcf8015 (original) (raw)

Original file line number Diff line number Diff line change
@@ -658,10 +658,6 @@ pub fn check_intrinsic_type(
658 658 sym::simd_shuffle => (3, 0, vec![param(0), param(0), param(1)], param(2)),
659 659 sym::simd_shuffle_generic => (2, 1, vec![param(0), param(0)], param(1)),
660 660
661 - sym::retag_box_to_raw => {
662 -(2, 0, vec![Ty::new_mut_ptr(tcx, param(0))], Ty::new_mut_ptr(tcx, param(0)))
663 -}
664 -
665 661 other => {
666 662 tcx.dcx().emit_err(UnrecognizedIntrinsicFunction { span, name: other });
667 663 return;