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 48081582fc3..1cd24495309 100644
--- a/compiler/rustc_ast/src/node_id.rs
+++ b/compiler/rustc_ast/src/node_id.rs
@@ -9,6 +9,7 @@ rustc_index::newtype_index! {
     ///
     /// [`DefId`]: rustc_span::def_id::DefId
     #[encodable]
+    #[orderable]
     #[debug_format = "NodeId({})"]
     pub struct NodeId {
         /// The [`NodeId`] used to represent the root of the crate.