Skip to content

Commit b0404d9

Browse files
[ci] Roll pinned stable toolchain (#2540)
1 parent 216ec11 commit b0404d9

10 files changed

+11
-11
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
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.86.0"
62+
pinned-stable = "1.87.0"
6363
pinned-nightly = "nightly-2025-05-14"
6464

6565
[package.metadata.docs.rs]

tests/ui-stable/transmute-mut-dst-not-a-reference.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ help: the return type of this call is `&mut _` due to the type of the argument p
5353
--> tests/ui-stable/transmute-mut-dst-not-a-reference.rs:17:36
5454
|
5555
17 | const DST_NOT_A_REFERENCE: usize = transmute_mut!(&mut 0u8);
56-
| ^^^^^^^^^^^^^^^^^^^^^^^^ this argument influences the return type of `$crate`
56+
| ^^^^^^^^^^^^^^^^^^^^^^^^ this argument influences the return type of `must_use`
5757
note: function defined here
5858
--> src/util/macro_util.rs
5959
|

tests/ui-stable/transmute-mut-dst-unsized.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ error[E0277]: the size for values of type `[u8]` cannot be known at compilation
5050
note: required by an implicit `Sized` bound in `std::intrinsics::transmute`
5151
--> $RUST/core/src/intrinsics/mod.rs
5252
|
53-
| pub const unsafe fn transmute<Src, Dst>(_src: Src) -> Dst {
53+
| pub const unsafe fn transmute<Src, Dst>(src: Src) -> Dst;
5454
| ^^^ required by the implicit `Sized` requirement on this type parameter in `transmute`
5555
= note: this error originates in the macro `$crate::assert_size_eq` which comes from the expansion of the macro `transmute_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
5656

tests/ui-stable/transmute-mut-src-dst-unsized.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ error[E0277]: the size for values of type `[u8]` cannot be known at compilation
147147
note: required by an implicit `Sized` bound in `std::intrinsics::transmute`
148148
--> $RUST/core/src/intrinsics/mod.rs
149149
|
150-
| pub const unsafe fn transmute<Src, Dst>(_src: Src) -> Dst {
150+
| pub const unsafe fn transmute<Src, Dst>(src: Src) -> Dst;
151151
| ^^^ required by the implicit `Sized` requirement on this type parameter in `transmute`
152152
= note: this error originates in the macro `$crate::assert_size_eq` which comes from the expansion of the macro `transmute_mut` (in Nightly builds, run with -Z macro-backtrace for more info)
153153

tests/ui-stable/transmute-ref-dst-mutable.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ help: the return type of this call is `&_` due to the type of the argument passe
5353
--> tests/ui-stable/transmute-ref-dst-mutable.rs:18:22
5454
|
5555
18 | let _: &mut u8 = transmute_ref!(&0u8);
56-
| ^^^^^^^^^^^^^^^^^^^^ this argument influences the return type of `$crate`
56+
| ^^^^^^^^^^^^^^^^^^^^ this argument influences the return type of `must_use`
5757
note: function defined here
5858
--> src/util/macro_util.rs
5959
|

tests/ui-stable/transmute-ref-dst-not-a-reference.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ help: the return type of this call is `&_` due to the type of the argument passe
5353
--> tests/ui-stable/transmute-ref-dst-not-a-reference.rs:17:36
5454
|
5555
17 | const DST_NOT_A_REFERENCE: usize = transmute_ref!(&0u8);
56-
| ^^^^^^^^^^^^^^^^^^^^ this argument influences the return type of `$crate`
56+
| ^^^^^^^^^^^^^^^^^^^^ this argument influences the return type of `must_use`
5757
note: function defined here
5858
--> src/util/macro_util.rs
5959
|

tests/ui-stable/transmute-ref-dst-unsized.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ error[E0277]: the size for values of type `[u8]` cannot be known at compilation
5050
note: required by an implicit `Sized` bound in `std::intrinsics::transmute`
5151
--> $RUST/core/src/intrinsics/mod.rs
5252
|
53-
| pub const unsafe fn transmute<Src, Dst>(_src: Src) -> Dst {
53+
| pub const unsafe fn transmute<Src, Dst>(src: Src) -> Dst;
5454
| ^^^ required by the implicit `Sized` requirement on this type parameter in `transmute`
5555
= note: this error originates in the macro `$crate::assert_size_eq` which comes from the expansion of the macro `transmute_ref` (in Nightly builds, run with -Z macro-backtrace for more info)
5656

tests/ui-stable/transmute-ref-src-dst-not-references.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ help: the return type of this call is `&_` due to the type of the argument passe
6969
--> tests/ui-stable/transmute-ref-src-dst-not-references.rs:17:39
7070
|
7171
17 | const SRC_DST_NOT_REFERENCES: usize = transmute_ref!(0usize);
72-
| ^^^^^^^^^^^^^^^^^^^^^^ this argument influences the return type of `$crate`
72+
| ^^^^^^^^^^^^^^^^^^^^^^ this argument influences the return type of `must_use`
7373
note: function defined here
7474
--> src/util/macro_util.rs
7575
|

tests/ui-stable/transmute-ref-src-dst-unsized.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ error[E0277]: the size for values of type `[u8]` cannot be known at compilation
147147
note: required by an implicit `Sized` bound in `std::intrinsics::transmute`
148148
--> $RUST/core/src/intrinsics/mod.rs
149149
|
150-
| pub const unsafe fn transmute<Src, Dst>(_src: Src) -> Dst {
150+
| pub const unsafe fn transmute<Src, Dst>(src: Src) -> Dst;
151151
| ^^^ required by the implicit `Sized` requirement on this type parameter in `transmute`
152152
= note: this error originates in the macro `$crate::assert_size_eq` which comes from the expansion of the macro `transmute_ref` (in Nightly builds, run with -Z macro-backtrace for more info)
153153

zerocopy-derive/tests/ui-stable/enum.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,10 +274,10 @@ error: generic parameters may not be used in const operations
274274
= note: type parameters may not be used in const expressions
275275

276276
error[E0565]: meta item in `repr` must be an identifier
277-
--> tests/ui-stable/enum.rs:19:8
277+
--> tests/ui-stable/enum.rs:19:1
278278
|
279279
19 | #[repr("foo")]
280-
| ^^^^^
280+
| ^^^^^^^^^^^^^^
281281

282282
error[E0552]: unrecognized representation hint
283283
--> tests/ui-stable/enum.rs:25:8

0 commit comments

Comments
 (0)