File tree Expand file tree Collapse file tree 2 files changed +107
-123
lines changed Expand file tree Collapse file tree 2 files changed +107
-123
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,6 @@ impl DeprecationEntry {
7070pub struct Index {
7171 /// This is mostly a cache, except the stabilities of local items
7272 /// are filled by the annotator.
73- pub stab_map : LocalDefIdMap < Stability > ,
7473 pub const_stab_map : LocalDefIdMap < ConstStability > ,
7574 /// Mapping from feature name to feature name based on the `implied_by` field of `#[unstable]`
7675 /// attributes. If a `#[unstable(feature = "implier", implied_by = "impliee")]` attribute
@@ -88,10 +87,6 @@ pub struct Index {
8887}
8988
9089impl Index {
91- pub fn local_stability ( & self , def_id : LocalDefId ) -> Option < Stability > {
92- self . stab_map . get ( & def_id) . copied ( )
93- }
94-
9590 pub fn local_const_stability ( & self , def_id : LocalDefId ) -> Option < ConstStability > {
9691 self . const_stab_map . get ( & def_id) . copied ( )
9792 }
You can’t perform that action at this time.
0 commit comments