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 4aa9790 commit e95d842Copy full SHA for e95d842
compiler/rustc_middle/src/ty/context.rs
@@ -840,9 +840,6 @@ impl<'tcx> rustc_type_ir::inherent::Features<TyCtxt<'tcx>> for &'tcx rustc_featu
840
!self.staged_api() && self.enabled(symbol)
841
}
842
843
- fn enabled(self, symbol: <TyCtxt<'tcx> as Interner>::Symbol) -> bool {
844
- self.enabled(symbol)
845
- }
846
847
848
impl<'tcx> rustc_type_ir::inherent::Span<TyCtxt<'tcx>> for Span {
compiler/rustc_type_ir/src/inherent.rs
@@ -586,7 +586,6 @@ pub trait Features<I: Interner>: Copy {
586
587
fn feature_bound_holds_in_crate(self, symbol: I::Symbol) -> bool;
588
589
- fn enabled(self, symbol: I::Symbol) -> bool;
590
591
592
pub trait DefId<I: Interner>: Copy + Debug + Hash + Eq + TypeFoldable<I> {
0 commit comments