diff options
| author | varkor <github@varkor.com> | 2019-09-26 17:25:31 +0100 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2019-09-26 18:21:10 +0100 |
| commit | c3d8791373005ef08c876aa649ede245efd2352d (patch) | |
| tree | d60090ad10eecda23484b9c922288929dcb81cd6 /src/libsyntax/parse/parser/expr.rs | |
| parent | d4573c9c1e8118be5ffc662c6a64db329db0a245 (diff) | |
| download | rust-c3d8791373005ef08c876aa649ede245efd2352d.tar.gz rust-c3d8791373005ef08c876aa649ede245efd2352d.zip | |
Rename `Ty.node` to `Ty.kind`
Diffstat (limited to 'src/libsyntax/parse/parser/expr.rs')
| -rw-r--r-- | src/libsyntax/parse/parser/expr.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/parse/parser/expr.rs b/src/libsyntax/parse/parser/expr.rs index deb2140f797..c776704b285 100644 --- a/src/libsyntax/parse/parser/expr.rs +++ b/src/libsyntax/parse/parser/expr.rs @@ -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, }) }; |
