Skip to content

Commit de1c6d8

Browse files
[ci] Roll pinned stable toolchain (#2120)
1 parent 51bc4df commit de1c6d8

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
@@ -46,7 +46,7 @@ zerocopy-diagnostic-on-unimplemented = "1.78.0"
4646

4747
[package.metadata.ci]
4848
# The versions of the stable and nightly compiler toolchains to use in CI.
49-
pinned-stable = "1.82.0"
49+
pinned-stable = "1.83.0"
5050
pinned-nightly = "nightly-2024-11-06"
5151

5252
[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)