Add of_trait to DefKind::Impl.
This commit is contained in:
parent
42d4bd7d18
commit
e41c37316d
2 changed files with 2 additions and 2 deletions
|
|
@ -552,7 +552,7 @@ fn non_local_item_children_by_name(tcx: TyCtxt<'_>, def_id: DefId, name: Symbol)
|
|||
.filter(|item| item.ident.name == name)
|
||||
.map(|child| child.res.expect_non_local())
|
||||
.collect(),
|
||||
DefKind::Impl => tcx
|
||||
DefKind::Impl { .. } => tcx
|
||||
.associated_item_def_ids(def_id)
|
||||
.iter()
|
||||
.copied()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue