@@ -9,7 +9,7 @@ use crate::lint::{
99 builtin:: UNSTABLE_SYNTAX_PRE_EXPANSION , BufferedEarlyLint , BuiltinLintDiagnostics , Lint , LintId ,
1010} ;
1111use rustc_ast:: node_id:: NodeId ;
12- use rustc_data_structures:: fx:: { FxHashMap , FxHashSet , FxIndexSet } ;
12+ use rustc_data_structures:: fx:: { FxHashMap , FxHashSet } ;
1313use rustc_data_structures:: sync:: { AppendOnlyVec , Lock , Lrc } ;
1414use rustc_errors:: { emitter:: SilentEmitter , Handler } ;
1515use rustc_errors:: {
@@ -27,7 +27,7 @@ use std::str;
2727
2828/// The set of keys (and, optionally, values) that define the compilation
2929/// environment of the crate, used to drive conditional compilation.
30- pub type CrateConfig = FxIndexSet < ( Symbol , Option < Symbol > ) > ;
30+ pub type CrateConfig = FxHashSet < ( Symbol , Option < Symbol > ) > ;
3131pub type CrateCheckConfig = CheckCfg < Symbol > ;
3232
3333/// Collected spans during parsing for places where a certain feature was
@@ -237,7 +237,7 @@ impl ParseSess {
237237 Self {
238238 span_diagnostic : handler,
239239 unstable_features : UnstableFeatures :: from_environment ( None ) ,
240- config : FxIndexSet :: default ( ) ,
240+ config : FxHashSet :: default ( ) ,
241241 check_config : CrateCheckConfig :: default ( ) ,
242242 edition : ExpnId :: root ( ) . expn_data ( ) . edition ,
243243 raw_identifier_spans : Default :: default ( ) ,
0 commit comments