Don't try to print missing HIR ids
This commit is contained in:
parent
8b8041efc0
commit
2af085d34f
1 changed files with 2 additions and 2 deletions
|
@ -111,9 +111,9 @@ impl<'a, 'hir> HirIdValidator<'a, 'hir> {
|
|||
trace!("missing hir id {:#?}", hir_id);
|
||||
|
||||
missing_items.push(format!(
|
||||
"[local_id: {}, node:{}]",
|
||||
"[local_id: {}, owner: {}]",
|
||||
local_id,
|
||||
self.hir_map.node_to_string(hir_id)
|
||||
self.hir_map.def_path(DefId::local(owner_def_index)).to_string_no_crate()
|
||||
));
|
||||
}
|
||||
self.error(|| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue