diff options
| author | varkor <github@varkor.com> | 2019-09-26 18:04:05 +0100 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2019-09-26 18:21:48 +0100 |
| commit | 38121173e27d304366c6fd422318e1e424941b7c (patch) | |
| tree | 9016704208a96e5da5e8918388f512ba5f03a638 /src/libsyntax/ext | |
| parent | b4748679611c97c09cfb7096917d7830c410a4ad (diff) | |
| download | rust-38121173e27d304366c6fd422318e1e424941b7c.tar.gz rust-38121173e27d304366c6fd422318e1e424941b7c.zip | |
Rename `MetaItem.node` to `MetaItem.kind`
Diffstat (limited to 'src/libsyntax/ext')
| -rw-r--r-- | src/libsyntax/ext/expand.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/ext/expand.rs b/src/libsyntax/ext/expand.rs index aa813c03c36..02e7c6775a4 100644 --- a/src/libsyntax/ext/expand.rs +++ b/src/libsyntax/ext/expand.rs @@ -659,7 +659,7 @@ impl<'a, 'b> MacroExpander<'a, 'b> { if !item.derive_allowed() { return fragment_kind.dummy(span); } - let meta = ast::MetaItem { node: ast::MetaItemKind::Word, span, path }; + let meta = ast::MetaItem { kind: ast::MetaItemKind::Word, span, path }; let items = expander.expand(self.cx, span, &meta, item); fragment_kind.expect_from_annotatables(items) } @@ -1534,7 +1534,7 @@ impl<'a, 'b> MutVisitor for InvocationCollector<'a, 'b> { id: at.id, style: at.style, path: meta.path, - tokens: meta.node.tokens(meta.span), + tokens: meta.kind.tokens(meta.span), is_sugared_doc: false, }; } else { |
