Skip to content

Commit 7a41e65

Browse files
committed
Fix bug in PostExpansionVisitor
1 parent 16c4c55 commit 7a41e65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libsyntax/feature_gate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -981,7 +981,7 @@ impl<'a> Visitor for PostExpansionVisitor<'a> {
981981
ast::TyKind::Never => return,
982982
_ => (),
983983
};
984-
visit::walk_ty(self, output_ty)
984+
self.visit_ty(output_ty)
985985
}
986986
}
987987

0 commit comments

Comments
 (0)