Skip to content

Commit eb143c3

Browse files
committed
Fix arm visitor
1 parent f866152 commit eb143c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libsyntax/feature_gate.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1444,6 +1444,7 @@ impl<'a> Visitor<'a> for PostExpansionVisitor<'a> {
14441444
span,
14451445
"Use of a '|' at the beginning of a match arm is experimental")
14461446
}
1447+
visit::walk_arm(self, arm)
14471448
}
14481449

14491450
fn visit_pat(&mut self, pattern: &'a ast::Pat) {

0 commit comments

Comments
 (0)