We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d26177 commit 7ce4a49Copy full SHA for 7ce4a49
clippy_utils/src/ty.rs
@@ -99,7 +99,7 @@ pub fn contains_ty_adt_constructor_opaque<'tcx>(cx: &LateContext<'tcx>, ty: Ty<'
99
for (predicate, _span) in cx
100
.tcx
101
.explicit_item_super_predicates(def_id)
102
- .instantiate_identity_iter_copied()
+ .iter_identity_copied()
103
{
104
match predicate.kind().skip_binder() {
105
// For `impl Trait<U>`, it will register a predicate of `T: Trait<U>`, so we go through
0 commit comments