1
Fork 0

Rename some compare_method functions

This commit is contained in:
Michael Goulet 2022-12-24 21:12:38 +00:00
parent 7e4f4660eb
commit 6161758b6d
6 changed files with 10 additions and 10 deletions

View file

@ -194,7 +194,7 @@ fn resolve_associated_item<'tcx>(
&& trait_item_id != leaf_def.item.def_id
&& let Some(leaf_def_item) = leaf_def.item.def_id.as_local()
{
tcx.compare_assoc_const_impl_item_with_trait_item((
tcx.compare_impl_const((
leaf_def_item,
trait_item_id,
))?;