Rollup merge of #101503 - spastorino:add-debug-calls, r=compiler-errors
Add debug calls `@oli-obk` requested this and other changes as a way of simplifying https://github.com/rust-lang/rust/pull/101345. This is just going to make the diff of https://github.com/rust-lang/rust/pull/101345 smaller. r? `@oli-obk` `@cjgillot`
This commit is contained in:
commit
0a1c816dcd
9 changed files with 34 additions and 16 deletions
|
@ -103,7 +103,7 @@ impl<'a, 'hir> HirIdValidator<'a, 'hir> {
|
|||
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…
Add table
Add a link
Reference in a new issue