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 {
70
70
pub struct Index {
71
71
/// This is mostly a cache, except the stabilities of local items
72
72
/// are filled by the annotator.
73
- pub stab_map : LocalDefIdMap < Stability > ,
74
73
pub const_stab_map : LocalDefIdMap < ConstStability > ,
75
74
/// Mapping from feature name to feature name based on the `implied_by` field of `#[unstable]`
76
75
/// attributes. If a `#[unstable(feature = "implier", implied_by = "impliee")]` attribute
@@ -88,10 +87,6 @@ pub struct Index {
88
87
}
89
88
90
89
impl Index {
91
- pub fn local_stability ( & self , def_id : LocalDefId ) -> Option < Stability > {
92
- self . stab_map . get ( & def_id) . copied ( )
93
- }
94
-
95
90
pub fn local_const_stability ( & self , def_id : LocalDefId ) -> Option < ConstStability > {
96
91
self . const_stab_map . get ( & def_id) . copied ( )
97
92
}
You can’t perform that action at this time.
0 commit comments