1
Fork 0

Remove trivial Binder::dummy calls

This commit is contained in:
Michael Goulet 2024-05-15 12:52:12 -04:00
parent 6d817365e5
commit 7b3d6dad20
9 changed files with 9 additions and 9 deletions

View file

@ -26,7 +26,7 @@ pub trait TraitEngine<'tcx>: 'tcx {
cause,
recursion_depth: 0,
param_env,
predicate: ty::Binder::dummy(trait_ref).upcast(infcx.tcx),
predicate: trait_ref.upcast(infcx.tcx),
},
);
}