rust/tests/ui/async-await/async-closures
Matthias Krüger aeafbbeded
Rollup merge of #120897 - compiler-errors:foreign-async-closure, r=oli-obk
Encode `coroutine_for_closure` for foreign crates

Async closures (and "coroutine closures" in general) need to have their child coroutine encoded. This PR does that.

r? oli-obk
2024-02-11 23:19:10 +01:00
..
auxiliary Encode coroutine_for_closure for foreign crates 2024-02-10 22:58:26 +00:00
arg-mismatch.rs Add some tests 2024-02-06 02:22:58 +00:00
arg-mismatch.stderr Add some tests 2024-02-06 02:22:58 +00:00
async-fn-mut-for-async-fn.rs Build DebugInfo for coroutine-closure 2024-02-09 16:01:29 +00:00
async-fn-once-for-async-fn.rs Build DebugInfo for coroutine-closure 2024-02-09 16:01:29 +00:00
await-inference-guidance.rs Add some tests 2024-02-06 02:22:58 +00:00
brand.rs Make async closures test use async bound modifier 2024-02-06 17:41:48 +00:00
def-path.rs Fix drop shim for AsyncFnOnce closure, AsyncFnMut shim for AsyncFn closure 2024-02-06 02:22:58 +00:00
def-path.stderr Fix drop shim for AsyncFnOnce closure, AsyncFnMut shim for AsyncFn closure 2024-02-06 02:22:58 +00:00
drop.rs Make async closures test use async bound modifier 2024-02-06 17:41:48 +00:00
drop.run.stdout Fix drop shim for AsyncFnOnce closure, AsyncFnMut shim for AsyncFn closure 2024-02-06 02:22:58 +00:00
foreign.rs Encode coroutine_for_closure for foreign crates 2024-02-10 22:58:26 +00:00
higher-ranked-return.rs Add some tests 2024-02-06 02:22:58 +00:00
higher-ranked-return.stderr Add some tests 2024-02-06 02:22:58 +00:00
higher-ranked.rs Add some tests 2024-02-06 02:22:58 +00:00
is-not-fn.rs Print kind of coroutine closure 2024-02-10 23:18:01 +00:00
is-not-fn.stderr Print kind of coroutine closure 2024-02-10 23:18:01 +00:00
mangle.rs Make async closures test use async bound modifier 2024-02-06 17:41:48 +00:00
move-consuming-capture.rs Add some tests 2024-02-06 02:22:58 +00:00
move-consuming-capture.stderr Print kind of coroutine closure 2024-02-10 23:18:01 +00:00
move-is-async-fn.rs Add some tests 2024-02-06 02:22:58 +00:00
mutate.rs Add some tests 2024-02-06 02:22:58 +00:00
not-lending.rs Add some tests 2024-02-06 02:22:58 +00:00
not-lending.stderr Add some tests 2024-02-06 02:22:58 +00:00
once.rs Add a couple more tests 2024-02-08 15:46:07 +00:00
refd.rs Add a couple more tests 2024-02-08 15:46:07 +00:00
return-type-mismatch.rs Add some tests 2024-02-06 02:22:58 +00:00
return-type-mismatch.stderr Add some tests 2024-02-06 02:22:58 +00:00
tainted-body.rs Don't ICE in ByMoveBody when coroutine is tainted 2024-02-09 00:36:30 +00:00
tainted-body.stderr Don't ICE in ByMoveBody when coroutine is tainted 2024-02-09 00:36:30 +00:00
wrong-fn-kind.rs Make async closures test use async bound modifier 2024-02-06 17:41:48 +00:00
wrong-fn-kind.stderr Make async closures test use async bound modifier 2024-02-06 17:41:48 +00:00