We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2db928 commit c131805Copy full SHA for c131805
tests/ui/coroutine/handle_opaques_before_coroutines.rs
@@ -0,0 +1,15 @@
1
+// test for https://github.com/rust-lang/trait-system-refactor-initiative/issues/239
2
+//@edition: 2024
3
+//@ check-pass
4
+//@ revisions: current next
5
+//@ ignore-compare-mode-next-solver (explicit revisions)
6
+//@[next] compile-flags: -Znext-solver
7
+
8
+fn foo<'a>() -> impl Send {
9
+ if false {
10
+ foo();
11
+ }
12
+ async {}
13
+}
14
15
+fn main() {}
0 commit comments