1
Fork 0

Fix arm visitor

This commit is contained in:
Matt Ickstadt 2017-09-01 14:39:46 -05:00
parent f866152991
commit eb143c344e

View file

@ -1444,6 +1444,7 @@ impl<'a> Visitor<'a> for PostExpansionVisitor<'a> {
span, span,
"Use of a '|' at the beginning of a match arm is experimental") "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) { fn visit_pat(&mut self, pattern: &'a ast::Pat) {