Compute proc_macros in resolutions.
This commit is contained in:
parent
635978041d
commit
f8efe5d822
12 changed files with 52 additions and 54 deletions
|
@ -324,7 +324,7 @@ pub fn configure_and_expand(
|
|||
};
|
||||
|
||||
let extern_mod_loaded = |ident: Ident, attrs, items, span| {
|
||||
let krate = ast::Crate { attrs, items, span, proc_macros: vec![] };
|
||||
let krate = ast::Crate { attrs, items, span };
|
||||
pre_expansion_lint(sess, lint_store, &krate, &ident.name.as_str());
|
||||
(krate.attrs, krate.items)
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue