about summary refs log tree commit diff
path: root/src/librustc_interface
diff options
context:
space:
mode:
authorVadim Petrochenkov <vadim.petrochenkov@gmail.com>2020-02-29 19:32:20 +0300
committerVadim Petrochenkov <vadim.petrochenkov@gmail.com>2020-03-12 22:26:52 +0300
commite809e0214ea9a43cc798379da4e8b303ed1000c3 (patch)
treef3e4b50941dc93a3de6d5a491a4f5dc335585690 /src/librustc_interface
parent23de8275c9b5e5812dc54a12bdba6d80870d9dc8 (diff)
downloadrust-e809e0214ea9a43cc798379da4e8b303ed1000c3.tar.gz
rust-e809e0214ea9a43cc798379da4e8b303ed1000c3.zip
ast: `Mac`/`Macro` -> `MacCall`
Diffstat (limited to 'src/librustc_interface')
-rw-r--r--src/librustc_interface/util.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_interface/util.rs b/src/librustc_interface/util.rs
index 7866ddbd4cc..df05bd7c511 100644
--- a/src/librustc_interface/util.rs
+++ b/src/librustc_interface/util.rs
@@ -780,7 +780,7 @@ impl<'a> MutVisitor for ReplaceBodyWithLoop<'a, '_> {
 
     // in general the pretty printer processes unexpanded code, so
     // we override the default `visit_mac` method which panics.
-    fn visit_mac(&mut self, mac: &mut ast::Mac) {
+    fn visit_mac(&mut self, mac: &mut ast::MacCall) {
         noop_visit_mac(mac, self)
     }
 }