Skip to content

Commit c131805

Browse files
committed
add test for trait-system-refactor-initiative/239
1 parent a2db928 commit c131805

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)