We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1abe42d commit 3506378Copy full SHA for 3506378
compiler/rustc_middle/src/ty/context.rs
@@ -843,9 +843,6 @@ impl<'tcx> rustc_type_ir::inherent::Features<TyCtxt<'tcx>> for &'tcx rustc_featu
843
!self.staged_api() && self.enabled(symbol)
844
}
845
846
- fn enabled(self, symbol: <TyCtxt<'tcx> as Interner>::Symbol) -> bool {
847
- self.enabled(symbol)
848
- }
849
850
851
impl<'tcx> rustc_type_ir::inherent::Span<TyCtxt<'tcx>> for Span {
compiler/rustc_type_ir/src/inherent.rs
@@ -595,7 +595,6 @@ pub trait Features<I: Interner>: Copy {
595
596
fn feature_bound_holds_in_crate(self, symbol: I::Symbol) -> bool;
597
598
- fn enabled(self, symbol: I::Symbol) -> bool;
599
600
601
pub trait DefId<I: Interner>: Copy + Debug + Hash + Eq + TypeFoldable<I> {
0 commit comments