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(|| {
|
||||
format!(
|
||||
"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(),
|
||||
max,
|
||||
missing_items,
|
||||
|
Loading…
Reference in New Issue
Block a user