]> git.lizzy.rs Git - rust.git/commitdiff
Reintroduce the original debug formatting for NodeIds
authorOliver Scherer <github35764891676564198441@oli-obk.de>
Thu, 8 Nov 2018 14:00:55 +0000 (15:00 +0100)
committerOliver Scherer <github35764891676564198441@oli-obk.de>
Mon, 12 Nov 2018 09:29:53 +0000 (10:29 +0100)
src/libsyntax/ast.rs

index b5ef14689f93abcf4ec2cb3ddcc6ad2e415049c9..4d56acabf1bba02ad955241d7fa6828962160de0 100644 (file)
@@ -217,6 +217,7 @@ mod node_id_inner {
     newtype_index! {
         pub struct NodeId {
             ENCODABLE = custom
+            DEBUG_FORMAT = "NodeId({})"
         }
     }
 }