Fix arm visitor
This commit is contained in:
parent
f866152991
commit
eb143c344e
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue