Function rustc_mir_transform::elaborate_box_derefs::build_ptr_tys
source · pub fn build_ptr_tys<'tcx>(
tcx: TyCtxt<'tcx>,
pointee: Ty<'tcx>,
unique_did: DefId,
nonnull_did: DefId,
) -> (Ty<'tcx>, Ty<'tcx>, Ty<'tcx>)
Expand description
Constructs the types used when accessing a Box’s pointer