1
Fork 0

Rollup merge of #96861 - m-ou-se:std-use-prelude-2021, r=joshtriplett

Use Rust 2021 prelude in std itself.
This commit is contained in:
Yuki Okushi 2022-05-11 00:09:34 +09:00 committed by GitHub
commit 7274447c36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
39 changed files with 7 additions and 43 deletions

View file

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