Rename tcx.ensure()
to tcx.ensure_ok()
This commit is contained in:
parent
854f22563c
commit
24cdaa146a
29 changed files with 186 additions and 160 deletions
|
@ -225,7 +225,7 @@ fn resolve_associated_item<'tcx>(
|
|||
if trait_item_id != leaf_def.item.def_id
|
||||
&& let Some(leaf_def_item) = leaf_def.item.def_id.as_local()
|
||||
{
|
||||
tcx.ensure().compare_impl_item(leaf_def_item)?;
|
||||
tcx.ensure_ok().compare_impl_item(leaf_def_item)?;
|
||||
}
|
||||
|
||||
Some(ty::Instance::new(leaf_def.item.def_id, args))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue