Moulins
b8a217081d
Refactor coroutine layout logic to precompute all sublayouts
...
Also properly attaches spans on layouts of non-promoted coroutine
locals, which slightly improves the error messages for some coroutine tests.
2025-03-08 12:36:45 +01:00
Michael Goulet
d0b0b028a6
Eagerly detect coroutine recursion pre-mono when possible
2025-02-05 18:36:17 +00:00
Michael Goulet
841184bcae
Make cycle error more resilient to where it starts
...
Also don't recomment recursive_async crate anymore
Co-authored-by: lcnr <rust@lcnr.de>
2024-01-08 20:30:24 +00:00
Tomasz Miąsko
a48cebc4b8
Coroutine variant fields can be uninitialized
...
Wrap coroutine variant fields in MaybeUninit to indicate that they
might be uninitialized. Otherwise an uninhabited field will make
the entire variant uninhabited and introduce undefined behaviour.
The analogous issue in the prefix of coroutine layout was addressed by
6fae7f8071
.
2023-12-12 00:00:00 +00:00
Nilstrieb
41e8d152dc
Show number in error message even for one error
...
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00
Michael Goulet
59315b8a63
Stabilize AFIT and RPITIT
2023-10-13 21:01:36 +00:00
Oli Scherer
6ea2db7c2d
Strip OpaqueCast
during RevealAll
.
2023-09-28 16:13:38 +00:00
Camille GILLOT
211d2ed07b
Bless tests.
2023-09-23 13:47:30 +00:00
Michael Goulet
8fbd78ccea
Detect cycle errors hidden by opaques during monomorphization
2023-09-13 17:35:44 +00:00