Skip to content

Commit 7ea660e

Browse files
committed
auto merge of #17142 : sfackler/rust/issue-17115, r=alexcrichton
Closes #17115
2 parents 09abbbd + b865c1f commit 7ea660e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/librustc/front/show_span.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ impl<'a> Visitor<()> for ShowSpanVisitor<'a> {
2828
self.sess.span_note(e.span, "expression");
2929
visit::walk_expr(self, e, ());
3030
}
31+
32+
fn visit_mac(&mut self, macro: &ast::Mac, e: ()) {
33+
visit::walk_mac(self, macro, e);
34+
}
3135
}
3236

3337
pub fn run(sess: &Session, krate: &ast::Crate) {

0 commit comments

Comments
 (0)