mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-30 02:33:55 +00:00
iter_identity is a better name
This commit is contained in:
parent
4d261774b7
commit
7ce4a49911
@ -99,7 +99,7 @@ pub fn contains_ty_adt_constructor_opaque<'tcx>(cx: &LateContext<'tcx>, ty: Ty<'
|
||||
for (predicate, _span) in cx
|
||||
.tcx
|
||||
.explicit_item_super_predicates(def_id)
|
||||
.instantiate_identity_iter_copied()
|
||||
.iter_identity_copied()
|
||||
{
|
||||
match predicate.kind().skip_binder() {
|
||||
// For `impl Trait<U>`, it will register a predicate of `T: Trait<U>`, so we go through
|
||||
|
Loading…
Reference in New Issue
Block a user