Skip to content

Commit e95d842

Browse files
committed
Remove fn enabled from rustc_type_ir::inherent
1 parent 4aa9790 commit e95d842

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

compiler/rustc_middle/src/ty/context.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -840,9 +840,6 @@ impl<'tcx> rustc_type_ir::inherent::Features<TyCtxt<'tcx>> for &'tcx rustc_featu
840840
!self.staged_api() && self.enabled(symbol)
841841
}
842842

843-
fn enabled(self, symbol: <TyCtxt<'tcx> as Interner>::Symbol) -> bool {
844-
self.enabled(symbol)
845-
}
846843
}
847844

848845
impl<'tcx> rustc_type_ir::inherent::Span<TyCtxt<'tcx>> for Span {

compiler/rustc_type_ir/src/inherent.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,6 @@ pub trait Features<I: Interner>: Copy {
586586

587587
fn feature_bound_holds_in_crate(self, symbol: I::Symbol) -> bool;
588588

589-
fn enabled(self, symbol: I::Symbol) -> bool;
590589
}
591590

592591
pub trait DefId<I: Interner>: Copy + Debug + Hash + Eq + TypeFoldable<I> {

0 commit comments

Comments
 (0)