Skip to content

Commit 3506378

Browse files
committed
Remove fn enabled from rustc_type_ir::inherent
1 parent 1abe42d commit 3506378

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
@@ -843,9 +843,6 @@ impl<'tcx> rustc_type_ir::inherent::Features<TyCtxt<'tcx>> for &'tcx rustc_featu
843843
!self.staged_api() && self.enabled(symbol)
844844
}
845845

846-
fn enabled(self, symbol: <TyCtxt<'tcx> as Interner>::Symbol) -> bool {
847-
self.enabled(symbol)
848-
}
849846
}
850847

851848
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
@@ -595,7 +595,6 @@ pub trait Features<I: Interner>: Copy {
595595

596596
fn feature_bound_holds_in_crate(self, symbol: I::Symbol) -> bool;
597597

598-
fn enabled(self, symbol: I::Symbol) -> bool;
599598
}
600599

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

0 commit comments

Comments
 (0)