rustc_ty_utils::needs_drop

Function adt_drop_tys

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