We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f573049 commit eaa51aeCopy full SHA for eaa51ae
src/librustc/hir/mod.rs
@@ -112,6 +112,12 @@ impl serialize::UseSpecializedDecodable for HirId {
112
}
113
114
115
+impl fmt::Display for HirId {
116
+ fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
117
+ write!(f, "{:?}", self)
118
+ }
119
+}
120
+
121
// hack to ensure that we don't try to access the private parts of `ItemLocalId` in this module
122
mod item_local_id_inner {
123
use rustc_data_structures::indexed_vec::Idx;
0 commit comments