Format hir_id_validator error using pretty print
This commit is contained in:
parent
e3a738a942
commit
d42afd2bd1
@ -103,7 +103,7 @@ fn check<F: FnOnce(&mut HirIdValidator<'a, 'hir>)>(&mut self, owner: LocalDefId,
|
|||||||
self.error(|| {
|
self.error(|| {
|
||||||
format!(
|
format!(
|
||||||
"ItemLocalIds not assigned densely in {}. \
|
"ItemLocalIds not assigned densely in {}. \
|
||||||
Max ItemLocalId = {}, missing IDs = {:?}; seens IDs = {:?}",
|
Max ItemLocalId = {}, missing IDs = {:#?}; seens IDs = {:#?}",
|
||||||
self.hir_map.def_path(owner).to_string_no_crate_verbose(),
|
self.hir_map.def_path(owner).to_string_no_crate_verbose(),
|
||||||
max,
|
max,
|
||||||
missing_items,
|
missing_items,
|
||||||
|
Loading…
Reference in New Issue
Block a user