Compute proc_macros in resolutions.
This commit is contained in:
@@ -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)
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user