summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorCamille GILLOT <gillot.camille@gmail.com>2021-07-16 22:22:08 +0200
committerCamille GILLOT <gillot.camille@gmail.com>2021-09-01 20:13:16 +0200
commitf8efe5d8222db70964f46b6523be81d6e7c38e65 (patch)
tree7d00e473f9c3e54adf3f0b386423ee999814f0d8 /compiler/rustc_interface/src
parent635978041d3b65cd89cc109a83fc761221b4f1d0 (diff)
downloadrust-f8efe5d8222db70964f46b6523be81d6e7c38e65.tar.gz
rust-f8efe5d8222db70964f46b6523be81d6e7c38e65.zip
Compute proc_macros in resolutions.
Diffstat (limited to 'compiler/rustc_interface/src')
-rw-r--r--compiler/rustc_interface/src/passes.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_interface/src/passes.rs b/compiler/rustc_interface/src/passes.rs
index 5dc57f6023b..7127ec57c08 100644
--- a/compiler/rustc_interface/src/passes.rs
+++ b/compiler/rustc_interface/src/passes.rs
@@ -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)
         };