File tree 3 files changed +15
-1
lines changed
3 files changed +15
-1
lines changed Original file line number Diff line number Diff line change @@ -54,4 +54,8 @@ pub mod rust_2024 {
54
54
#[ unstable( feature = "prelude_2024" , issue = "none" ) ]
55
55
#[ doc( no_inline) ]
56
56
pub use super :: rust_2021:: * ;
57
+
58
+ #[ unstable( feature = "prelude_2024" , issue = "none" ) ]
59
+ #[ doc( no_inline) ]
60
+ pub use crate :: future:: { Future , IntoFuture } ;
57
61
}
Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ const ENTRY_LIMIT: usize = 900;
16
16
// FIXME: The following limits should be reduced eventually.
17
17
18
18
const ISSUES_ENTRY_LIMIT : usize = 1781 ;
19
- const ROOT_ENTRY_LIMIT : usize = 871 ;
19
+
20
+ const ROOT_ENTRY_LIMIT : usize = 872 ;
20
21
21
22
const EXPECTED_TEST_FILE_EXTENSIONS : & [ & str ] = & [
22
23
"rs" , // test source files
Original file line number Diff line number Diff line change
1
+ // check-pass
2
+ // compile-flags: -Zunstable-options
3
+ // edition:2024
4
+
5
+ fn main ( ) {
6
+ fut ( async { } . into_future ( ) , async { } ) ;
7
+ }
8
+
9
+ fn fut ( _: impl Future , _: impl IntoFuture ) { }
You can’t perform that action at this time.
0 commit comments