@@ -7,13 +7,12 @@ use crate::ty::{self, DefIdTree, TyCtxt};
77use rustc_ast:: NodeId ;
88use rustc_attr:: { self as attr, ConstStability , Deprecation , Stability } ;
99use rustc_data_structures:: fx:: FxHashMap ;
10- use rustc_data_structures:: stable_set:: StableSet ;
1110use rustc_errors:: { Applicability , Diagnostic } ;
1211use rustc_feature:: GateIssue ;
1312use rustc_hir as hir;
1413use rustc_hir:: def:: DefKind ;
1514use rustc_hir:: def_id:: { DefId , LocalDefId , CRATE_DEF_INDEX } ;
16- use rustc_hir:: { self , def_id :: CrateNum , HirId } ;
15+ use rustc_hir:: { self , HirId } ;
1716use rustc_middle:: ty:: print:: with_no_trimmed_paths;
1817use rustc_session:: lint:: builtin:: { DEPRECATED , DEPRECATED_IN_FUTURE , SOFT_UNSTABLE } ;
1918use rustc_session:: lint:: { BuiltinLintDiagnostics , Level , Lint , LintBuffer } ;
@@ -64,12 +63,6 @@ pub struct Index {
6463 pub stab_map : FxHashMap < LocalDefId , Stability > ,
6564 pub const_stab_map : FxHashMap < LocalDefId , ConstStability > ,
6665 pub depr_map : FxHashMap < LocalDefId , DeprecationEntry > ,
67-
68- /// Maps for each crate whether it is part of the staged API.
69- pub staged_api : FxHashMap < CrateNum , bool > ,
70-
71- /// Features enabled for this crate.
72- pub active_features : StableSet < Symbol > ,
7366}
7467
7568impl Index {
0 commit comments