about summary refs log tree commit diff
path: root/tests/ui/coroutine/auxiliary
AgeCommit message (Collapse)AuthorLines
2025-06-02Add missing `dyn` keywords to tests that do not test for themLukas Wirth-1/+1
This ensures that these tests can be run on editions other than 2015
2024-04-24Error on using `yield` without also using `#[coroutine]` on the closureOli Scherer-6/+13
And suggest adding the `#[coroutine]` to the closure
2024-02-16[AUTO-GENERATED] Migrate ui tests from `//` to `//@` directives许杰友 Jieyou Xu (Joe)-4/+4
2023-11-28Fix coroutine validation for mixed panic strategyTomasz Miąsko-0/+11
Validation introduced in #113124 allows UnwindAction::Continue and TerminatorKind::Resume to occur only in functions with ABI that can unwind. The function ABI depends on the panic strategy, which can vary across crates. Usually MIR is built and validated in the same crate. The coroutine drop glue thus far was an exception. As a result validation could fail when mixing different panic strategies. Avoid the problem by executing AbortUnwindingCalls along with the validation.
2023-10-20Rename `generator` folderOli Scherer-0/+43