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

@@ -96,7 +96,7 @@ impl<'a, 'tcx> ObligationCtxt<'a, 'tcx> {
cause,
recursion_depth: 0,
param_env,
predicate: ty::Binder::dummy(trait_ref).upcast(tcx),
predicate: trait_ref.upcast(tcx),
});
}