avoid more ty::Binder:dummy
This commit is contained in:
parent
c115ec11d2
commit
a090b4548d
8 changed files with 29 additions and 36 deletions
|
@ -413,10 +413,7 @@ impl<'tcx> EvalCtxt<'_, 'tcx> {
|
|||
let normalized_ty = ecx.next_ty_infer();
|
||||
let normalizes_to_goal = goal.with(
|
||||
tcx,
|
||||
ty::Binder::dummy(ty::ProjectionPredicate {
|
||||
projection_ty,
|
||||
term: normalized_ty.into(),
|
||||
}),
|
||||
ty::ProjectionPredicate { projection_ty, term: normalized_ty.into() },
|
||||
);
|
||||
ecx.add_goal(normalizes_to_goal);
|
||||
let _ = ecx.try_evaluate_added_goals().inspect_err(|_| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue