Skip to content

Commit 1cc24c0

Browse files
[ci] Roll pinned stable toolchain (#2121)
1 parent 7431cbd commit 1cc24c0

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ zerocopy-panic-in-const-and-vec-try-reserve-1-57-0 = "1.57.0"
5959

6060
[package.metadata.ci]
6161
# The versions of the stable and nightly compiler toolchains to use in CI.
62-
pinned-stable = "1.82.0"
62+
pinned-stable = "1.83.0"
6363
pinned-nightly = "nightly-2024-11-06"
6464

6565
[package.metadata.docs.rs]

tests/ui-stable/transmute-mut-const.stderr

-8
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,6 @@ note: `const` item defined here
1313
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1414
= note: `#[warn(const_item_mutation)]` on by default
1515

16-
error[E0658]: mutable references are not allowed in constants
17-
--> tests/ui-stable/transmute-mut-const.rs:20:52
18-
|
19-
20 | const CONST_CONTEXT: &mut [u8; 2] = transmute_mut!(&mut ARRAY_OF_U8S);
20-
| ^^^^^^^^^^^^^^^^^
21-
|
22-
= note: see issue #57349 <https://github.com/rust-lang/rust/issues/57349> for more information
23-
2416
error[E0015]: cannot call non-const fn `transmute_mut::<'_, '_, [u8; 2], [u8; 2]>` in constants
2517
--> tests/ui-stable/transmute-mut-const.rs:20:37
2618
|

0 commit comments

Comments
 (0)