Only store a LocalDefId in hir::ImplItem.
This commit is contained in:
parent
a871a0f111
commit
786a80e9ea
56 changed files with 163 additions and 165 deletions
|
@ -358,7 +358,7 @@ impl<'tcx> SaveContext<'tcx> {
|
|||
parent: None,
|
||||
children: items
|
||||
.iter()
|
||||
.map(|i| id_from_hir_id(i.id.hir_id, self))
|
||||
.map(|i| id_from_def_id(i.id.def_id.to_def_id()))
|
||||
.collect(),
|
||||
docs: String::new(),
|
||||
sig: None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue