Rename MetaItem.node to MetaItem.kind

This commit is contained in:
varkor
2019-09-26 18:04:05 +01:00
parent b474867961
commit 38121173e2
19 changed files with 50 additions and 50 deletions

View File

@@ -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,
},