From de1c6d856f866864e5471156754cc3e81eda1448 Mon Sep 17 00:00:00 2001 From: Google PR Creation Bot <145818923+google-pr-creation-bot@users.noreply.github.com> Date: Tue, 3 Dec 2024 05:23:39 -0800 Subject: [PATCH] [ci] Roll pinned stable toolchain (#2120) --- Cargo.toml | 2 +- tests/ui-stable/transmute-mut-const.stderr | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 78e6d5f29b..34cd3f0c25 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -46,7 +46,7 @@ zerocopy-diagnostic-on-unimplemented = "1.78.0" [package.metadata.ci] # The versions of the stable and nightly compiler toolchains to use in CI. -pinned-stable = "1.82.0" +pinned-stable = "1.83.0" pinned-nightly = "nightly-2024-11-06" [package.metadata.docs.rs] diff --git a/tests/ui-stable/transmute-mut-const.stderr b/tests/ui-stable/transmute-mut-const.stderr index 076dcf54ac..f080090720 100644 --- a/tests/ui-stable/transmute-mut-const.stderr +++ b/tests/ui-stable/transmute-mut-const.stderr @@ -13,14 +13,6 @@ note: `const` item defined here | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ = note: `#[warn(const_item_mutation)]` on by default -error[E0658]: mutable references are not allowed in constants - --> tests/ui-stable/transmute-mut-const.rs:20:52 - | -20 | const CONST_CONTEXT: &mut [u8; 2] = transmute_mut!(&mut ARRAY_OF_U8S); - | ^^^^^^^^^^^^^^^^^ - | - = note: see issue #57349 for more information - error[E0015]: cannot call non-const fn `transmute_mut::<'_, '_, [u8; 2], [u8; 2]>` in constants --> tests/ui-stable/transmute-mut-const.rs:20:37 |