Skip to content

Commit 2731075

Browse files
Duplicate CrateConfig into Session
Since it's just a type alias this isn't too difficult and once Session is moved back we can make this be the canonical location.
1 parent e810b7e commit 2731075

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/librustc/session/config.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ use rustc_feature::UnstableFeatures;
1212
use rustc_target::spec::{LinkerFlavor, MergeFunctions, PanicStrategy, RelroLevel};
1313
use rustc_target::spec::{Target, TargetTriple};
1414

15-
use syntax::ast::CrateConfig;
15+
// Duplicated from syntax::ast for now
16+
type CrateConfig = FxHashSet<(Symbol, Option<Symbol>)>;
17+
1618
use syntax::source_map::{FileName, FilePathMapping};
1719
use syntax::edition::{Edition, EDITION_NAME_LIST, DEFAULT_EDITION};
1820
use syntax::symbol::{sym, Symbol};

0 commit comments

Comments
 (0)