mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 14:10:03 +03:00
auto merge of #17142 : sfackler/rust/issue-17115, r=alexcrichton
Closes #17115
This commit is contained in:
@@ -28,6 +28,10 @@ fn visit_expr(&mut self, e: &ast::Expr, _: ()) {
|
||||
self.sess.span_note(e.span, "expression");
|
||||
visit::walk_expr(self, e, ());
|
||||
}
|
||||
|
||||
fn visit_mac(&mut self, macro: &ast::Mac, e: ()) {
|
||||
visit::walk_mac(self, macro, e);
|
||||
}
|
||||
}
|
||||
|
||||
pub fn run(sess: &Session, krate: &ast::Crate) {
|
||||
|
||||
Reference in New Issue
Block a user