From 7c9e818f028a899cf4597f80c67bfe64b7e1a4ed Mon Sep 17 00:00:00 2001 From: Georg Semmler Date: Fri, 6 Sep 2024 19:06:59 +0200 Subject: [PATCH] Revert ed7bdbb17b9c03fe3530e5e3f21b7c6c7879dbca --- compiler/rustc_hir_analysis/src/collect.rs | 2 -- compiler/rustc_middle/src/ty/mod.rs | 1 - 2 files changed, 3 deletions(-) diff --git a/compiler/rustc_hir_analysis/src/collect.rs b/compiler/rustc_hir_analysis/src/collect.rs index 92111805ab4..ac9976148e2 100644 --- a/compiler/rustc_hir_analysis/src/collect.rs +++ b/compiler/rustc_hir_analysis/src/collect.rs @@ -1698,8 +1698,6 @@ fn impl_trait_header(tcx: TyCtxt<'_>, def_id: LocalDefId) -> Option { pub trait_ref: ty::EarlyBinder<'tcx, ty::TraitRef<'tcx>>, pub polarity: ImplPolarity, pub safety: hir::Safety, - pub do_not_recommend: bool, } #[derive(Copy, Clone, PartialEq, Eq, Debug, TypeFoldable, TypeVisitable)]