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