about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser.rs
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2019-09-26 17:25:31 +0100
committervarkor <github@varkor.com>2019-09-26 18:21:10 +0100
commitc3d8791373005ef08c876aa649ede245efd2352d (patch)
treed60090ad10eecda23484b9c922288929dcb81cd6 /src/libsyntax/parse/parser.rs
parentd4573c9c1e8118be5ffc662c6a64db329db0a245 (diff)
downloadrust-c3d8791373005ef08c876aa649ede245efd2352d.tar.gz
rust-c3d8791373005ef08c876aa649ede245efd2352d.zip
Rename `Ty.node` to `Ty.kind`
Diffstat (limited to 'src/libsyntax/parse/parser.rs')
-rw-r--r--src/libsyntax/parse/parser.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs
index b2b6504919e..cc582819b6b 100644
--- a/src/libsyntax/parse/parser.rs
+++ b/src/libsyntax/parse/parser.rs
@@ -1212,7 +1212,7 @@ impl<'a> Parser<'a> {
                 do_not_enforce_named_arguments_for_c_variadic
             ) {
                 Ok(param) => {
-                    if let TyKind::CVarArgs = param.ty.node {
+                    if let TyKind::CVarArgs = param.ty.kind {
                         c_variadic = true;
                         if p.token != token::CloseDelim(token::Paren) {
                             let span = p.token.span;