Add query own_existential_vtable_entries
This commit is contained in:
parent
871eb6233e
commit
97214eecc5
4 changed files with 69 additions and 44 deletions
|
@ -996,6 +996,12 @@ rustc_queries! {
|
|||
desc { |tcx| "checking if item has mir available: `{}`", tcx.def_path_str(key) }
|
||||
}
|
||||
|
||||
query own_existential_vtable_entries(
|
||||
key: ty::PolyExistentialTraitRef<'tcx>
|
||||
) -> &'tcx [DefId] {
|
||||
desc { |tcx| "finding all existential vtable entries for trait {}", tcx.def_path_str(key.def_id()) }
|
||||
}
|
||||
|
||||
query vtable_entries(key: ty::PolyTraitRef<'tcx>)
|
||||
-> &'tcx [ty::VtblEntry<'tcx>] {
|
||||
desc { |tcx| "finding all vtable entries for trait {}", tcx.def_path_str(key.def_id()) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue