Querify coroutine_hidden_types
This commit is contained in:
@@ -83,7 +83,7 @@ where
|
||||
.cx()
|
||||
.coroutine_hidden_types(def_id)
|
||||
.instantiate(cx, args)
|
||||
.map_bound(|tys| tys.to_vec())),
|
||||
.map_bound(|bound| bound.types.to_vec())),
|
||||
|
||||
ty::UnsafeBinder(bound_ty) => Ok(bound_ty.map_bound(|ty| vec![ty])),
|
||||
|
||||
@@ -249,7 +249,7 @@ where
|
||||
.cx()
|
||||
.coroutine_hidden_types(def_id)
|
||||
.instantiate(ecx.cx(), args)
|
||||
.map_bound(|tys| tys.to_vec())),
|
||||
.map_bound(|bound| bound.types.to_vec())),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user