separate definitions and HIR
owners
fix a ui test use `into` fix clippy ui test fix a run-make-fulldeps test implement `IntoQueryParam<DefId>` for `OwnerId` use `OwnerId` for more queries change the type of `ParentOwnerIterator::Item` to `(OwnerId, OwnerNode)`
This commit is contained in:
parent
bb5a016175
commit
8fe936099a
114 changed files with 659 additions and 518 deletions
|
@ -1246,7 +1246,7 @@ impl<'v> RootCollector<'_, 'v> {
|
|||
}
|
||||
}
|
||||
DefKind::Fn => {
|
||||
self.push_if_root(id.def_id);
|
||||
self.push_if_root(id.def_id.def_id);
|
||||
}
|
||||
_ => {}
|
||||
}
|
||||
|
@ -1254,7 +1254,7 @@ impl<'v> RootCollector<'_, 'v> {
|
|||
|
||||
fn process_impl_item(&mut self, id: hir::ImplItemId) {
|
||||
if matches!(self.tcx.def_kind(id.def_id), DefKind::AssocFn) {
|
||||
self.push_if_root(id.def_id);
|
||||
self.push_if_root(id.def_id.def_id);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue