]> git.lizzy.rs Git - rust.git/blobdiff - src/libsyntax/ext/mbe/macro_rules.rs
Rename `Item.node` to `Item.kind`
[rust.git] / src / libsyntax / ext / mbe / macro_rules.rs
index c24f6a666039fffeed8c05c9f247c990647e7c9c..aec4a683141203e7ba00102cb37a41fb94405192 100644 (file)
@@ -302,7 +302,7 @@ pub fn compile_declarative_macro(
     let tt_spec = ast::Ident::new(sym::tt, def.span);
 
     // Parse the macro_rules! invocation
-    let body = match def.node {
+    let body = match def.kind {
         ast::ItemKind::MacroDef(ref body) => body,
         _ => unreachable!(),
     };