rustc_ty_utils::needs_drop

Function adt_consider_insignificant_dtor

source
fn adt_consider_insignificant_dtor<'tcx>(
    tcx: TyCtxt<'tcx>,
) -> impl Fn(AdtDef<'tcx>) -> Option<DtorType> + 'tcx