Matthias Krüger
aa0b0b65b3
Rollup merge of #120844 - compiler-errors:async-di, r=oli-obk
...
Build DebugInfo for async closures
The test is pretty bare, because I don't really know how to write debuginfo tests. I'd like to land this first, and then flesh it out correctly one it's no longer ICEing on master (which breaks people's ability to test using async closures).
r? oli-obk cc `@rust-lang/wg-debugging` (if any of y'all want to help me write a more fleshed out async closures test)
2024-02-09 19:21:19 +01:00
Michael Goulet
34ed554d81
Build DebugInfo for coroutine-closure
2024-02-09 16:01:29 +00:00
Michael Goulet
698a3c7ade
Don't ICE in ByMoveBody when coroutine is tainted
2024-02-09 00:36:30 +00:00
Michael Goulet
9322882ade
Add a couple more tests
2024-02-08 15:46:07 +00:00
Michael Goulet
3bb384aad6
Prefer AsyncFn* over Fn* for coroutine-closures
2024-02-08 15:46:00 +00:00
Michael Goulet
f1308783b4
Make async closures test use async bound modifier
2024-02-06 17:41:48 +00:00
Michael Goulet
ed7fca1f88
Fudge coroutine argument for CoroutineKindShim in fn_sig_for_fn_abi
2024-02-06 02:53:06 +00:00
Michael Goulet
ca44416023
Fix drop shim for AsyncFnOnce closure, AsyncFnMut shim for AsyncFn closure
2024-02-06 02:22:58 +00:00
Michael Goulet
37184e86ea
Add some tests
2024-02-06 02:22:58 +00:00
Michael Goulet
881b6b5149
Bless tests, add comments
2024-02-06 02:22:58 +00:00
Michael Goulet
5d8c1780fa
Make the coroutine def id of an async closure the child of the closure def id
2024-01-27 19:39:02 +00:00
Michael Goulet
8c2ae804e3
Don't manually resolve async closures in rustc_resolve
2024-01-24 20:48:07 +00:00