Skip to content

Commit

Permalink
Catch an issue missed in rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
whitfin committed May 18, 2018
1 parent 55a00a9 commit d95ba30
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/librustc_metadata/cstore.rs
Expand Up @@ -20,8 +20,7 @@ use rustc_data_structures::indexed_vec::IndexVec;
use rustc::util::nodemap::{FxHashMap, NodeMap};

use rustc_data_structures::sync::{Lrc, RwLock, Lock};
use syntax::{ast, attr};
use syntax::edition::Edition;
use syntax::ast;
use syntax::ext::base::SyntaxExtension;
use syntax::symbol::Symbol;
use syntax_pos;
Expand Down
2 changes: 1 addition & 1 deletion src/librustc_metadata/cstore_impl.rs
Expand Up @@ -519,7 +519,7 @@ impl CrateStore for cstore::CStore {
} else if data.name == "proc_macro" &&
self.get_crate_data(id.krate).item_name(id.index) == "quote" {
let ext = SyntaxExtension::ProcMacro(Box::new(::proc_macro::__internal::Quoter),
data.edition());
data.root.edition);
return LoadedMacro::ProcMacro(Lrc::new(ext));
}

Expand Down

0 comments on commit d95ba30

Please sign in to comment.