summary refs log tree commit diff
path: root/tests/ui/iterators/into-iter-on-arrays-lint.fixed
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2025-08-01 21:07:49 +0000
committerbors <bors@rust-lang.org>2025-08-01 21:07:49 +0000
commit63f6845e570305a92eaf855897768617366164d6 (patch)
tree373dbe2880f908756d25b76e9163fbb5e19f120f /tests/ui/iterators/into-iter-on-arrays-lint.fixed
parent4b55fe199cfe9c710555a5af7f2a49491ad38254 (diff)
parente9765781b2857da90161157a3fc523f9e1d58848 (diff)
downloadrust-63f6845e570305a92eaf855897768617366164d6.tar.gz
rust-63f6845e570305a92eaf855897768617366164d6.zip
Auto merge of #144458 - compiler-errors:no-witness-mini, r=lcnr
Remove the witness type from coroutine *args* (without actually removing the type)

This does as much of rust-lang/rust#144157 as we can without having to break rust-lang/rust#143545 and/or introduce some better way of handling higher ranked assumptions.

Namely, it:
* Stalls coroutines based off of the *coroutine* type rather than the witness type.
* Reworks the dtorck constraint hack to not rely on the witness type.
* Removes the witness type from the args of the coroutine, eagerly creating the type for nested obligations when needed (auto/clone impls).

I'll experiment with actually removing the witness type in a follow-up.

r? lcnr
Diffstat (limited to 'tests/ui/iterators/into-iter-on-arrays-lint.fixed')
0 files changed, 0 insertions, 0 deletions