about summary refs log tree commit diff
path: root/src/libsyntax/ext
diff options
context:
space:
mode:
authorCaio <c410.f3r@gmail.com>2019-08-13 22:22:51 -0300
committerCaio <c410.f3r@gmail.com>2019-08-13 22:42:10 -0300
commit9348af8396c961f8bb79cc360c091d74ea4ba34a (patch)
tree0a737afc82b9f920be527d3411e38e387caa8d16 /src/libsyntax/ext
parent60960a260f7b5c695fd0717311d72ce62dd4eb43 (diff)
downloadrust-9348af8396c961f8bb79cc360c091d74ea4ba34a.tar.gz
rust-9348af8396c961f8bb79cc360c091d74ea4ba34a.zip
Add NodeId for Arm, Field and FieldPat
Diffstat (limited to 'src/libsyntax/ext')
-rw-r--r--src/libsyntax/ext/build.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libsyntax/ext/build.rs b/src/libsyntax/ext/build.rs
index 22962499a2b..aab782d612e 100644
--- a/src/libsyntax/ext/build.rs
+++ b/src/libsyntax/ext/build.rs
@@ -403,6 +403,7 @@ impl<'a> ExtCtxt<'a> {
             span,
             is_shorthand: false,
             attrs: ThinVec::new(),
+            id: ast::DUMMY_NODE_ID,
         }
     }
     pub fn expr_struct(
@@ -612,6 +613,7 @@ impl<'a> ExtCtxt<'a> {
             guard: None,
             body: expr,
             span,
+            id: ast::DUMMY_NODE_ID,
         }
     }