about summary refs log tree commit diff
path: root/src/libsyntax_ext/plugin_macro_defs.rs
diff options
context:
space:
mode:
authorvarkor <github@varkor.com>2019-09-26 17:51:36 +0100
committervarkor <github@varkor.com>2019-09-26 18:21:48 +0100
commit7bc94cc3c2ccef8b4d393910bb978a6487db1202 (patch)
tree1c7a5175d795992497651e7dfa3e3a0f76f5815a /src/libsyntax_ext/plugin_macro_defs.rs
parent21bf983acbb5d7ac8fb9462cbf2cc4c280abd857 (diff)
downloadrust-7bc94cc3c2ccef8b4d393910bb978a6487db1202.tar.gz
rust-7bc94cc3c2ccef8b4d393910bb978a6487db1202.zip
Rename `Item.node` to `Item.kind`
Diffstat (limited to 'src/libsyntax_ext/plugin_macro_defs.rs')
-rw-r--r--src/libsyntax_ext/plugin_macro_defs.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsyntax_ext/plugin_macro_defs.rs b/src/libsyntax_ext/plugin_macro_defs.rs
index ccdc5bd81a0..315babceae3 100644
--- a/src/libsyntax_ext/plugin_macro_defs.rs
+++ b/src/libsyntax_ext/plugin_macro_defs.rs
@@ -28,7 +28,7 @@ fn plugin_macro_def(name: Name, span: Span) -> P<Item> {
         ident: Ident::new(name, span),
         attrs: vec![rustc_builtin_macro],
         id: DUMMY_NODE_ID,
-        node: ItemKind::MacroDef(MacroDef { tokens: TokenStream::new(trees), legacy: true }),
+        kind: ItemKind::MacroDef(MacroDef { tokens: TokenStream::new(trees), legacy: true }),
         vis: respan(span, VisibilityKind::Inherited),
         span: span,
         tokens: None,