Don't call own_existential_vtable_entries
on unresolved trait ref
This commit is contained in:
parent
a6b5f95fb0
commit
1e2eb97c6e
3 changed files with 8 additions and 19 deletions
|
@ -1207,9 +1207,9 @@ rustc_queries! {
|
|||
}
|
||||
|
||||
query own_existential_vtable_entries(
|
||||
key: ty::PolyExistentialTraitRef<'tcx>
|
||||
key: DefId
|
||||
) -> &'tcx [DefId] {
|
||||
desc { |tcx| "finding all existential vtable entries for trait `{}`", tcx.def_path_str(key.def_id()) }
|
||||
desc { |tcx| "finding all existential vtable entries for trait `{}`", tcx.def_path_str(key) }
|
||||
}
|
||||
|
||||
query vtable_entries(key: ty::PolyTraitRef<'tcx>)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue