Rename MetaItem::ident to MetaItem::path

This commit is contained in:
Vadim Petrochenkov 2019-03-02 19:15:26 +03:00
parent 6ad55b3dec
commit 63116d313d
16 changed files with 52 additions and 53 deletions

View file

@ -2333,7 +2333,7 @@ impl<'a> Parser<'a> {
let meta_ident = match self.token {
token::Interpolated(ref nt) => match **nt {
token::NtMeta(ref meta) => match meta.node {
ast::MetaItemKind::Word => Some(meta.ident.clone()),
ast::MetaItemKind::Word => Some(meta.path.clone()),
_ => None,
},
_ => None,