@@ -9,7 +9,7 @@ use crate::lint::{
9
9
builtin:: UNSTABLE_SYNTAX_PRE_EXPANSION , BufferedEarlyLint , BuiltinLintDiagnostics , Lint , LintId ,
10
10
} ;
11
11
use rustc_ast:: node_id:: NodeId ;
12
- use rustc_data_structures:: fx:: { FxHashMap , FxHashSet , FxIndexSet } ;
12
+ use rustc_data_structures:: fx:: { FxHashMap , FxHashSet } ;
13
13
use rustc_data_structures:: sync:: { AppendOnlyVec , Lock , Lrc } ;
14
14
use rustc_errors:: { emitter:: SilentEmitter , Handler } ;
15
15
use rustc_errors:: {
@@ -27,7 +27,7 @@ use std::str;
27
27
28
28
/// The set of keys (and, optionally, values) that define the compilation
29
29
/// 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 > ) > ;
31
31
pub type CrateCheckConfig = CheckCfg < Symbol > ;
32
32
33
33
/// Collected spans during parsing for places where a certain feature was
@@ -237,7 +237,7 @@ impl ParseSess {
237
237
Self {
238
238
span_diagnostic : handler,
239
239
unstable_features : UnstableFeatures :: from_environment ( None ) ,
240
- config : FxIndexSet :: default ( ) ,
240
+ config : FxHashSet :: default ( ) ,
241
241
check_config : CrateCheckConfig :: default ( ) ,
242
242
edition : ExpnId :: root ( ) . expn_data ( ) . edition ,
243
243
raw_identifier_spans : Default :: default ( ) ,
0 commit comments