rustc_mir_transform::elaborate_box_derefs

Function build_ptr_tys

Source
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