Rollup merge of #145331 - theemathas:std-prelude-2024, r=tgross35

Make std use the edition 2024 prelude

This seem to have been overlooked in <https://github.com/rust-lang/rust/pull/138162>
This commit is contained in:
Stuart Cook 2025-08-15 16:16:40 +10:00 committed by GitHub
commit b672a2ad5c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -436,7 +436,7 @@ pub mod prelude;
// to import the prelude implicitly when building crates that depend on std.
#[prelude_import]
#[allow(unused)]
use prelude::rust_2021::*;
use prelude::rust_2024::*;
// Access to Bencher, etc.
#[cfg(test)]