fix clippy::{clone_on_copy, useless_conversion}
This commit is contained in:
parent
d666f6bf22
commit
bcd79c222a
3 changed files with 4 additions and 5 deletions
|
@ -645,9 +645,8 @@ pub(super) fn implied_predicates_with_filter(
|
|||
};
|
||||
|
||||
// Combine the two lists to form the complete set of superbounds:
|
||||
let implied_bounds = &*tcx
|
||||
.arena
|
||||
.alloc_from_iter(superbounds.predicates().into_iter().chain(where_bounds_that_match));
|
||||
let implied_bounds =
|
||||
&*tcx.arena.alloc_from_iter(superbounds.predicates().chain(where_bounds_that_match));
|
||||
debug!(?implied_bounds);
|
||||
|
||||
// Now require that immediate supertraits are converted,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue