diff options
| author | bors <bors@rust-lang.org> | 2023-01-31 19:24:29 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-01-31 19:24:29 +0000 |
| commit | dc1d9d50fba2f6a1ccab8748a0050cde38253f60 (patch) | |
| tree | 1497db582bb148e212d04fb4acc229d85aff2617 /library/alloc/src | |
| parent | f361413cbf44ce2f144df59fc440cd484af4a56e (diff) | |
| parent | 652f79e83543eab07c33840748cf5df37b42ac66 (diff) | |
Auto merge of #107297 - Mark-Simulacrum:bump-bootstrap, r=pietroalbini
Bump bootstrap compiler to 1.68 This also changes our stage0.json to include the rustc component for the rustfmt pinned nightly toolchain, which is currently necessary due to rustfmt dynamically linking to that toolchain's librustc_driver and libstd. r? `@pietroalbini`
Diffstat (limited to 'library/alloc/src')
| -rw-r--r-- | library/alloc/src/collections/vec_deque/mod.rs | 2 | ||||
| -rw-r--r-- | library/alloc/src/string.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/library/alloc/src/collections/vec_deque/mod.rs b/library/alloc/src/collections/vec_deque/mod.rs index 451e4936bc5..1573b3d77dc 100644 --- a/library/alloc/src/collections/vec_deque/mod.rs +++ b/library/alloc/src/collections/vec_deque/mod.rs @@ -537,7 +537,7 @@ impl<T> VecDeque<T> { /// ``` #[inline] #[stable(feature = "rust1", since = "1.0.0")] - #[rustc_const_stable(feature = "const_vec_deque_new", since = "CURRENT_RUSTC_VERSION")] + #[rustc_const_stable(feature = "const_vec_deque_new", since = "1.68.0")] #[must_use] pub const fn new() -> VecDeque<T> { // FIXME: This should just be `VecDeque::new_in(Global)` once that hits stable. diff --git a/library/alloc/src/string.rs b/library/alloc/src/string.rs index 3118c7189a5..ca182c8109e 100644 --- a/library/alloc/src/string.rs +++ b/library/alloc/src/string.rs @@ -2549,7 +2549,7 @@ impl ToString for char { } #[cfg(not(no_global_oom_handling))] -#[stable(feature = "bool_to_string_specialization", since = "CURRENT_RUSTC_VERSION")] +#[stable(feature = "bool_to_string_specialization", since = "1.68.0")] impl ToString for bool { #[inline] fn to_string(&self) -> String { |
