File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,7 @@ use rustc_data_structures::indexed_vec::IndexVec;
2020use rustc:: util:: nodemap:: { FxHashMap , NodeMap } ;
2121
2222use rustc_data_structures:: sync:: { Lrc , RwLock , Lock } ;
23- use syntax:: { ast, attr} ;
24- use syntax:: edition:: Edition ;
23+ use syntax:: ast;
2524use syntax:: ext:: base:: SyntaxExtension ;
2625use syntax:: symbol:: Symbol ;
2726use syntax_pos;
Original file line number Diff line number Diff line change @@ -519,7 +519,7 @@ impl CrateStore for cstore::CStore {
519519 } else if data. name == "proc_macro" &&
520520 self . get_crate_data ( id. krate ) . item_name ( id. index ) == "quote" {
521521 let ext = SyntaxExtension :: ProcMacro ( Box :: new ( :: proc_macro:: __internal:: Quoter ) ,
522- data. edition ( ) ) ;
522+ data. root . edition ) ;
523523 return LoadedMacro :: ProcMacro ( Lrc :: new ( ext) ) ;
524524 }
525525
You can’t perform that action at this time.
0 commit comments