rustc_ty_utils::needs_drop

Function list_significant_drop_tys

Source
fn list_significant_drop_tys<'tcx>(
    tcx: TyCtxt<'tcx>,
    ty: ParamEnvAnd<'tcx, Ty<'tcx>>,
) -> &'tcx List<Ty<'tcx>>