File tree 2 files changed +2
-3
lines changed
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;
20
20
use rustc:: util:: nodemap:: { FxHashMap , NodeMap } ;
21
21
22
22
use rustc_data_structures:: sync:: { Lrc , RwLock , Lock } ;
23
- use syntax:: { ast, attr} ;
24
- use syntax:: edition:: Edition ;
23
+ use syntax:: ast;
25
24
use syntax:: ext:: base:: SyntaxExtension ;
26
25
use syntax:: symbol:: Symbol ;
27
26
use syntax_pos;
Original file line number Diff line number Diff line change @@ -519,7 +519,7 @@ impl CrateStore for cstore::CStore {
519
519
} else if data. name == "proc_macro" &&
520
520
self . get_crate_data ( id. krate ) . item_name ( id. index ) == "quote" {
521
521
let ext = SyntaxExtension :: ProcMacro ( Box :: new ( :: proc_macro:: __internal:: Quoter ) ,
522
- data. edition ( ) ) ;
522
+ data. root . edition ) ;
523
523
return LoadedMacro :: ProcMacro ( Lrc :: new ( ext) ) ;
524
524
}
525
525
You can’t perform that action at this time.
0 commit comments