diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-10-01 18:42:36 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-01 18:42:36 +0200 |
| commit | 25f1d821092cc036385a98d754e99d08b57c4079 (patch) | |
| tree | d26eee10db56c5b4434272f34a3af7a766cc2e71 /tests/ui | |
| parent | 1feb547a52113ffbea4cd720f01e3ef1ec922607 (diff) | |
| parent | 0435b16f3b8d4b6139993a60528658416aa36d39 (diff) | |
| download | rust-25f1d821092cc036385a98d754e99d08b57c4079.tar.gz rust-25f1d821092cc036385a98d754e99d08b57c4079.zip | |
Rollup merge of #147202 - jdonszelmann:swap-order, r=lcnr
Swap order of `resolve_coroutine_interiors` and `handle_opaque_type_uses` r? ```@BoxyUwU``` if the comment says x should be last, it helps if it's actually last hehe :P Fixes https://github.com/rust-lang/trait-system-refactor-initiative/issues/239
Diffstat (limited to 'tests/ui')
| -rw-r--r-- | tests/ui/coroutine/handle_opaques_before_coroutines.rs | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/ui/coroutine/handle_opaques_before_coroutines.rs b/tests/ui/coroutine/handle_opaques_before_coroutines.rs new file mode 100644 index 00000000000..2771c77429c --- /dev/null +++ b/tests/ui/coroutine/handle_opaques_before_coroutines.rs @@ -0,0 +1,15 @@ +// test for https://github.com/rust-lang/trait-system-refactor-initiative/issues/239 +//@edition: 2024 +//@ check-pass +//@ revisions: current next +//@ ignore-compare-mode-next-solver (explicit revisions) +//@[next] compile-flags: -Znext-solver + +fn foo<'a>() -> impl Send { + if false { + foo(); + } + async {} +} + +fn main() {} |
