File tree Expand file tree Collapse file tree 3 files changed +15
-1
lines changed Expand file tree Collapse file tree 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 {
5454 #[ unstable( feature = "prelude_2024" , issue = "none" ) ]
5555 #[ doc( no_inline) ]
5656 pub use super :: rust_2021:: * ;
57+
58+ #[ unstable( feature = "prelude_2024" , issue = "none" ) ]
59+ #[ doc( no_inline) ]
60+ pub use crate :: future:: { Future , IntoFuture } ;
5761}
Original file line number Diff line number Diff line change @@ -16,7 +16,8 @@ const ENTRY_LIMIT: usize = 900;
1616// FIXME: The following limits should be reduced eventually.
1717
1818const ISSUES_ENTRY_LIMIT : usize = 1781 ;
19- const ROOT_ENTRY_LIMIT : usize = 871 ;
19+
20+ const ROOT_ENTRY_LIMIT : usize = 872 ;
2021
2122const EXPECTED_TEST_FILE_EXTENSIONS : & [ & str ] = & [
2223 "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