Fix replacing supertrait aliases in ReplaceProjectionWith
This commit is contained in:
@@ -944,7 +944,7 @@ where
|
||||
target_projection: ty::Binder<I, ty::ExistentialProjection<I>>| {
|
||||
source_projection.item_def_id() == target_projection.item_def_id()
|
||||
&& ecx
|
||||
.probe(|_| ProbeKind::UpcastProjectionCompatibility)
|
||||
.probe(|_| ProbeKind::ProjectionCompatibility)
|
||||
.enter(|ecx| -> Result<_, NoSolution> {
|
||||
ecx.enter_forall(target_projection, |ecx, target_projection| {
|
||||
let source_projection =
|
||||
|
||||
Reference in New Issue
Block a user