Miscellaneous renaming
This commit is contained in:
parent
bcf38b5f54
commit
d3a742bde9
5 changed files with 73 additions and 70 deletions
|
@ -285,13 +285,13 @@ fn vtable_entries<'tcx>(
|
|||
return VtblEntry::Vacant;
|
||||
}
|
||||
|
||||
let instance = ty::Instance::resolve_for_vtable(
|
||||
let instance = ty::Instance::expect_resolve_for_vtable(
|
||||
tcx,
|
||||
ty::ParamEnv::reveal_all(),
|
||||
def_id,
|
||||
args,
|
||||
)
|
||||
.expect("resolution failed during building vtable representation");
|
||||
);
|
||||
|
||||
VtblEntry::Method(instance)
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue