Format hir_id_validator error using pretty print
This commit is contained in:
parent
e3a738a942
commit
d42afd2bd1
1 changed files with 1 additions and 1 deletions
|
@ -103,7 +103,7 @@ impl<'a, 'hir> HirIdValidator<'a, 'hir> {
|
||||||
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…
Add table
Add a link
Reference in a new issue