This commit is contained in:
Michael Goulet
2023-01-25 17:02:16 +00:00
parent c24844048f
commit f7fc0b7121
4 changed files with 16 additions and 20 deletions

View File

@@ -562,7 +562,7 @@ impl<'tcx> assembly::GoalKind<'tcx> for ProjectionPredicate<'tcx> {
bug!("`Unsize` does not have an associated type: {:?}", goal);
}
fn consider_builtin_dyn_unsize_candidates(
fn consider_builtin_dyn_upcast_candidates(
_ecx: &mut EvalCtxt<'_, 'tcx>,
goal: Goal<'tcx, Self>,
) -> Vec<super::CanonicalResponse<'tcx>> {