]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_ast/src/node_id.rs
Rollup merge of #106008 - uweigand:s390x-lintgroup-order, r=Nilstrieb
[rust.git] / compiler / rustc_ast / src / node_id.rs
index 7b5acc3f4859624c4d48baf3a99a346b00fae8f8..daa82996b3d11f52a9fead380c10c879ac7e9896 100644 (file)
@@ -8,9 +8,8 @@
     /// This is later turned into [`DefId`] and `HirId` for the HIR.
     ///
     /// [`DefId`]: rustc_span::def_id::DefId
-    pub struct NodeId {
-        DEBUG_FORMAT = "NodeId({})"
-    }
+    #[debug_format = "NodeId({})"]
+    pub struct NodeId {}
 }
 
 rustc_data_structures::define_id_collections!(NodeMap, NodeSet, NodeMapEntry, NodeId);