Skip to content

Commit 4f589e3

Browse files
Remove trivial Binder::dummy calls
1 parent 6b37146 commit 4f589e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_utils/src/ty.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ pub fn implements_trait_with_env_from_iter<'tcx>(
311311
cause: ObligationCause::dummy(),
312312
param_env,
313313
recursion_depth: 0,
314-
predicate: Binder::dummy(trait_ref).upcast(tcx),
314+
predicate: trait_ref.upcast(tcx),
315315
};
316316
infcx
317317
.evaluate_obligation(&obligation)

0 commit comments

Comments
 (0)