@@ -7,6 +7,7 @@ use crate::session::{early_error, early_warn, Session};
77use crate :: session:: search_paths:: SearchPath ;
88
99use rustc_data_structures:: fx:: FxHashSet ;
10+ use rustc_feature:: UnstableFeatures ;
1011
1112use rustc_target:: spec:: { LinkerFlavor , MergeFunctions , PanicStrategy , RelroLevel } ;
1213use rustc_target:: spec:: { Target , TargetTriple } ;
@@ -16,7 +17,6 @@ use syntax::ast;
1617use syntax:: source_map:: { FileName , FilePathMapping } ;
1718use syntax:: edition:: { Edition , EDITION_NAME_LIST , DEFAULT_EDITION } ;
1819use syntax:: symbol:: { sym, Symbol } ;
19- use syntax:: feature_gate:: UnstableFeatures ;
2020
2121use errors:: emitter:: HumanReadableErrorType ;
2222use errors:: { ColorConfig , FatalError , Handler } ;
@@ -2701,7 +2701,7 @@ pub fn parse_crate_types_from_list(list_list: Vec<String>) -> Result<Vec<CrateTy
27012701
27022702pub mod nightly_options {
27032703 use getopts;
2704- use syntax :: feature_gate :: UnstableFeatures ;
2704+ use rustc_feature :: UnstableFeatures ;
27052705 use super :: { ErrorOutputType , OptionStability , RustcOptGroup } ;
27062706 use crate :: session:: early_error;
27072707
@@ -2850,9 +2850,9 @@ mod dep_tracking {
28502850 use super :: { CrateType , DebugInfo , ErrorOutputType , OptLevel , OutputTypes ,
28512851 Passes , Sanitizer , LtoCli , LinkerPluginLto , SwitchWithOptPath ,
28522852 SymbolManglingVersion } ;
2853+ use rustc_feature:: UnstableFeatures ;
28532854 use rustc_target:: spec:: { MergeFunctions , PanicStrategy , RelroLevel , TargetTriple } ;
28542855 use syntax:: edition:: Edition ;
2855- use syntax:: feature_gate:: UnstableFeatures ;
28562856
28572857 pub trait DepTrackingHash {
28582858 fn hash ( & self , hasher : & mut DefaultHasher , error_format : ErrorOutputType ) ;
0 commit comments