Skip to content

Commit 06f0edc

Browse files
committed
Add 2024 prelude tracking issue
1 parent cba7f1a commit 06f0edc

File tree

5 files changed

+9
-12
lines changed

5 files changed

+9
-12
lines changed

library/core/src/prelude/mod.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -49,13 +49,13 @@ pub mod rust_2021 {
4949
/// The 2024 edition of the core prelude.
5050
///
5151
/// See the [module-level documentation](self) for more.
52-
#[unstable(feature = "prelude_2024", issue = "none")]
52+
#[unstable(feature = "prelude_2024", issue = "121042")]
5353
pub mod rust_2024 {
54-
#[unstable(feature = "prelude_2024", issue = "none")]
54+
#[unstable(feature = "prelude_2024", issue = "121042")]
5555
#[doc(no_inline)]
5656
pub use super::rust_2021::*;
5757

58-
#[unstable(feature = "prelude_2024", issue = "none")]
58+
#[unstable(feature = "prelude_2024", issue = "121042")]
5959
#[doc(no_inline)]
6060
pub use crate::future::{Future, IntoFuture};
6161
}

library/std/src/prelude/mod.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -132,13 +132,13 @@ pub mod rust_2021 {
132132
/// The 2024 version of the prelude of The Rust Standard Library.
133133
///
134134
/// See the [module-level documentation](self) for more.
135-
#[unstable(feature = "prelude_2024", issue = "none")]
135+
#[unstable(feature = "prelude_2024", issue = "121042")]
136136
pub mod rust_2024 {
137-
#[unstable(feature = "prelude_2024", issue = "none")]
137+
#[unstable(feature = "prelude_2024", issue = "121042")]
138138
#[doc(no_inline)]
139139
pub use super::v1::*;
140140

141-
#[unstable(feature = "prelude_2024", issue = "none")]
141+
#[unstable(feature = "prelude_2024", issue = "121042")]
142142
#[doc(no_inline)]
143143
pub use core::prelude::rust_2024::*;
144144
}

src/tools/tidy/src/ui_tests.rs

-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ const ENTRY_LIMIT: usize = 900;
1616
// FIXME: The following limits should be reduced eventually.
1717

1818
const ISSUES_ENTRY_LIMIT: usize = 1781;
19-
2019
const ROOT_ENTRY_LIMIT: usize = 872;
2120

2221
const EXPECTED_TEST_FILE_EXTENSIONS: &[&str] = &[

tests/ui/async-await/for-await-passthrough.rs

-2
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44
#![feature(async_iterator, async_iter_from_iter, const_waker, async_for_loop, noop_waker,
55
gen_blocks)]
66

7-
use std::future::Future;
8-
97
async gen fn async_iter() -> i32 {
108
let iter = core::async_iter::from_iter(0..3);
119
for await i in iter {

tests/ui/rust-2024/prelude2024.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// check-pass
2-
// compile-flags: -Zunstable-options
3-
// edition:2024
1+
//@ check-pass
2+
//@ compile-flags: -Zunstable-options
3+
//@ edition:2024
44

55
fn main() {
66
fut(async {}.into_future(), async {});

0 commit comments

Comments
 (0)