mirror of
https://github.com/rust-lang/rust.git
synced 2025-01-27 07:03:45 +00:00
Fix arm visitor
This commit is contained in:
parent
f866152991
commit
eb143c344e
@ -1444,6 +1444,7 @@ impl<'a> Visitor<'a> for PostExpansionVisitor<'a> {
|
||||
span,
|
||||
"Use of a '|' at the beginning of a match arm is experimental")
|
||||
}
|
||||
visit::walk_arm(self, arm)
|
||||
}
|
||||
|
||||
fn visit_pat(&mut self, pattern: &'a ast::Pat) {
|
||||
|
Loading…
Reference in New Issue
Block a user