Rename MetaItem.node to MetaItem.kind
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user