about summary refs log tree commit diff
path: root/src/libsyntax/parse/parser
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2019-09-26 18:04:05 +0100
committervarkor <github@varkor.com>2019-09-26 18:21:48 +0100
commit38121173e27d304366c6fd422318e1e424941b7c (patch)
tree9016704208a96e5da5e8918388f512ba5f03a638 /src/libsyntax/parse/parser
parentb4748679611c97c09cfb7096917d7830c410a4ad (diff)
downloadrust-38121173e27d304366c6fd422318e1e424941b7c.tar.gz
rust-38121173e27d304366c6fd422318e1e424941b7c.zip
Rename `MetaItem.node` to `MetaItem.kind`
Diffstat (limited to 'src/libsyntax/parse/parser')
-rw-r--r--src/libsyntax/parse/parser/path.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax/parse/parser/path.rs b/src/libsyntax/parse/parser/path.rs
index 87839f8c70e..463ae9124ca 100644
--- a/src/libsyntax/parse/parser/path.rs
+++ b/src/libsyntax/parse/parser/path.rs
@@ -114,7 +114,7 @@ impl<'a> Parser<'a> {
     pub fn parse_path_allowing_meta(&mut self, style: PathStyle) -> PResult<'a, Path> {
         let meta_ident = match self.token.kind {
             token::Interpolated(ref nt) => match **nt {
-                token::NtMeta(ref meta) => match meta.node {
+                token::NtMeta(ref meta) => match meta.kind {
                     ast::MetaItemKind::Word => Some(meta.path.clone()),
                     _ => None,
                 },