Rename Ty.node to Ty.kind

This commit is contained in:
varkor 2019-09-26 17:25:31 +01:00
parent d4573c9c1e
commit c3d8791373
50 changed files with 138 additions and 137 deletions

View file

@ -555,7 +555,7 @@ impl<'a> Parser<'a> {
let span_after_type = parser_snapshot_after_type.token.span;
let expr = mk_expr(self, P(Ty {
span: path.span,
node: TyKind::Path(None, path),
kind: TyKind::Path(None, path),
id: DUMMY_NODE_ID,
}));
@ -1190,7 +1190,7 @@ impl<'a> Parser<'a> {
} else {
P(Ty {
id: DUMMY_NODE_ID,
node: TyKind::Infer,
kind: TyKind::Infer,
span: self.prev_span,
})
};