rustc_ast: visit_mac
-> visit_mac_call
This commit is contained in:
parent
3237b3886c
commit
90fafc8c8f
11 changed files with 24 additions and 25 deletions
|
@ -358,7 +358,7 @@ fn find_type_parameters(
|
|||
visit::walk_ty(self, ty)
|
||||
}
|
||||
|
||||
fn visit_mac(&mut self, mac: &ast::MacCall) {
|
||||
fn visit_mac_call(&mut self, mac: &ast::MacCall) {
|
||||
self.cx.span_err(mac.span(), "`derive` cannot be used on items with type macros");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue