Skip to content

Commit d42afd2

Browse files
committedSep 7, 2022
Format hir_id_validator error using pretty print
1 parent e3a738a commit d42afd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎compiler/rustc_passes/src/hir_id_validator.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ impl<'a, 'hir> HirIdValidator<'a, 'hir> {
103103
self.error(|| {
104104
format!(
105105
"ItemLocalIds not assigned densely in {}. \
106-
Max ItemLocalId = {}, missing IDs = {:?}; seens IDs = {:?}",
106+
Max ItemLocalId = {}, missing IDs = {:#?}; seens IDs = {:#?}",
107107
self.hir_map.def_path(owner).to_string_no_crate_verbose(),
108108
max,
109109
missing_items,

0 commit comments

Comments
 (0)
Please sign in to comment.