rustc_ty_utils::needs_drop

Function adt_significant_drop_tys

source
fn adt_significant_drop_tys(
    tcx: TyCtxt<'_>,
    def_id: DefId,
) -> Result<&List<Ty<'_>>, AlwaysRequiresDrop>