mirror of
https://github.com/rust-lang/rust-clippy
synced 2025-02-17 06:28:42 +00:00
Remove trivial Binder::dummy calls
This commit is contained in:
parent
6b371469bf
commit
4f589e322d
1 changed files with 1 additions and 1 deletions
|
@ -311,7 +311,7 @@ pub fn implements_trait_with_env_from_iter<'tcx>(
|
|||
cause: ObligationCause::dummy(),
|
||||
param_env,
|
||||
recursion_depth: 0,
|
||||
predicate: Binder::dummy(trait_ref).upcast(tcx),
|
||||
predicate: trait_ref.upcast(tcx),
|
||||
};
|
||||
infcx
|
||||
.evaluate_obligation(&obligation)
|
||||
|
|
Loading…
Add table
Reference in a new issue