about summary refs log tree commit diff
path: root/compiler/rustc_ast/src/node_id.rs
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/rustc_ast/src/node_id.rs')
-rw-r--r--compiler/rustc_ast/src/node_id.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/rustc_ast/src/node_id.rs b/compiler/rustc_ast/src/node_id.rs
index d16741757d1..48081582fc3 100644
--- a/compiler/rustc_ast/src/node_id.rs
+++ b/compiler/rustc_ast/src/node_id.rs
@@ -8,6 +8,7 @@ rustc_index::newtype_index! {
     /// This is later turned into [`DefId`] and `HirId` for the HIR.
     ///
     /// [`DefId`]: rustc_span::def_id::DefId
+    #[encodable]
     #[debug_format = "NodeId({})"]
     pub struct NodeId {
         /// The [`NodeId`] used to represent the root of the crate.