Copy ty::AssocItem
all other the place
This commit is contained in:
parent
236ddf36b3
commit
a32d392741
17 changed files with 89 additions and 96 deletions
|
@ -26,7 +26,7 @@ fn associated_item_def_ids(tcx: TyCtxt<'_>, def_id: DefId) -> &[DefId] {
|
|||
}
|
||||
}
|
||||
|
||||
fn associated_items(tcx: TyCtxt<'_>, def_id: DefId) -> ty::AssocItems<'_> {
|
||||
fn associated_items(tcx: TyCtxt<'_>, def_id: DefId) -> ty::AssocItems {
|
||||
if tcx.is_trait_alias(def_id) {
|
||||
ty::AssocItems::new(Vec::new())
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue