Skip to content

Commit 4c9ee59

Browse files
committed
Reintroduce the original debug formatting for NodeIds
1 parent 4bf7c33 commit 4c9ee59

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libsyntax/ast.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ mod node_id_inner {
217217
newtype_index! {
218218
pub struct NodeId {
219219
ENCODABLE = custom
220+
DEBUG_FORMAT = "NodeId({})"
220221
}
221222
}
222223
}

0 commit comments

Comments
 (0)