Skip to content

Commit 0638e22

Browse files
[ci] Roll pinned stable toolchain (#2927)
1 parent 2b5fb4a commit 0638e22

File tree

5 files changed

+73
-24
lines changed

5 files changed

+73
-24
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ no-zerocopy-panic-in-const-and-vec-try-reserve-1-57-0 = "1.57.0"
8484

8585
[package.metadata.ci]
8686
# The versions of the stable and nightly compiler toolchains to use in CI.
87-
pinned-stable = "1.92.0"
87+
pinned-stable = "1.93.0"
8888
pinned-nightly = "nightly-2026-01-18"
8989

9090
[package.metadata.docs.rs]

tests/ui-stable/transmute-ptr-to-usize.stderr

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ error[E0277]: the trait bound `*const usize: IntoBytes` is not satisfied
88
| required by a bound introduced by this call
99
|
1010
= note: Consider adding `#[derive(IntoBytes)]` to `*const usize`
11-
= help: the trait `IntoBytes` is implemented for `usize`
11+
help: the trait `IntoBytes` is implemented for `usize`
12+
--> src/impls.rs
13+
|
14+
| unsafe_impl!(usize: Immutable, TryFromBytes, FromZeros, FromBytes, IntoBytes);
15+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1216
note: required by a bound in `POINTER_VALUE::transmute`
1317
--> tests/ui-stable/transmute-ptr-to-usize.rs:18:30
1418
|

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

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -435,8 +435,12 @@ error[E0277]: `IntoBytes1` has 1 total byte(s) of padding
435435
= note: consider using `zerocopy::Unalign` to lower the alignment of individual fields
436436
= note: consider adding explicit fields where padding would be
437437
= note: consider using `#[repr(packed)]` to remove padding
438-
= help: the trait `PaddingFree<IntoBytes1, 1>` is not implemented for `()`
439-
but trait `PaddingFree<IntoBytes1, 0>` is implemented for it
438+
help: the trait `PaddingFree<IntoBytes1, 1>` is not implemented for `()`
439+
but trait `PaddingFree<IntoBytes1, 0>` is implemented for it
440+
--> $WORKSPACE/src/util/macro_util.rs
441+
|
442+
64 | impl<T: ?Sized> PaddingFree<T, 0> for () {}
443+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
440444
= help: see issue #48214
441445
= note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
442446

@@ -449,8 +453,12 @@ error[E0277]: `IntoBytes2` has 3 total byte(s) of padding
449453
= note: consider using `zerocopy::Unalign` to lower the alignment of individual fields
450454
= note: consider adding explicit fields where padding would be
451455
= note: consider using `#[repr(packed)]` to remove padding
452-
= help: the trait `PaddingFree<IntoBytes2, 3>` is not implemented for `()`
453-
but trait `PaddingFree<IntoBytes2, 0>` is implemented for it
456+
help: the trait `PaddingFree<IntoBytes2, 3>` is not implemented for `()`
457+
but trait `PaddingFree<IntoBytes2, 0>` is implemented for it
458+
--> $WORKSPACE/src/util/macro_util.rs
459+
|
460+
64 | impl<T: ?Sized> PaddingFree<T, 0> for () {}
461+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
454462
= help: see issue #48214
455463
= note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
456464

@@ -463,8 +471,12 @@ error[E0277]: `IntoBytes3` has 2 total byte(s) of padding
463471
= note: consider using `zerocopy::Unalign` to lower the alignment of individual fields
464472
= note: consider adding explicit fields where padding would be
465473
= note: consider using `#[repr(packed)]` to remove padding
466-
= help: the trait `PaddingFree<IntoBytes3, 2>` is not implemented for `()`
467-
but trait `PaddingFree<IntoBytes3, 0>` is implemented for it
474+
help: the trait `PaddingFree<IntoBytes3, 2>` is not implemented for `()`
475+
but trait `PaddingFree<IntoBytes3, 0>` is implemented for it
476+
--> $WORKSPACE/src/util/macro_util.rs
477+
|
478+
64 | impl<T: ?Sized> PaddingFree<T, 0> for () {}
479+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
468480
= help: see issue #48214
469481
= note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
470482

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

Lines changed: 43 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,12 @@ error[E0277]: `IntoBytes2` has 1 total byte(s) of padding
289289
= note: consider using `zerocopy::Unalign` to lower the alignment of individual fields
290290
= note: consider adding explicit fields where padding would be
291291
= note: consider using `#[repr(packed)]` to remove padding
292-
= help: the trait `PaddingFree<IntoBytes2, 1>` is not implemented for `()`
293-
but trait `PaddingFree<IntoBytes2, 0>` is implemented for it
292+
help: the trait `PaddingFree<IntoBytes2, 1>` is not implemented for `()`
293+
but trait `PaddingFree<IntoBytes2, 0>` is implemented for it
294+
--> $WORKSPACE/src/util/macro_util.rs
295+
|
296+
64 | impl<T: ?Sized> PaddingFree<T, 0> for () {}
297+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
294298
= help: see issue #48214
295299
= note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
296300

@@ -303,8 +307,12 @@ error[E0277]: `IntoBytes3` has 1 total byte(s) of padding
303307
= note: consider using `zerocopy::Unalign` to lower the alignment of individual fields
304308
= note: consider adding explicit fields where padding would be
305309
= note: consider using `#[repr(packed)]` to remove padding
306-
= help: the trait `PaddingFree<IntoBytes3, 1>` is not implemented for `()`
307-
but trait `PaddingFree<IntoBytes3, 0>` is implemented for it
310+
help: the trait `PaddingFree<IntoBytes3, 1>` is not implemented for `()`
311+
but trait `PaddingFree<IntoBytes3, 0>` is implemented for it
312+
--> $WORKSPACE/src/util/macro_util.rs
313+
|
314+
64 | impl<T: ?Sized> PaddingFree<T, 0> for () {}
315+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
308316
= help: see issue #48214
309317
= note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
310318

@@ -353,8 +361,12 @@ error[E0277]: `IntoBytes5` has one or more padding bytes
353361
= note: consider using `zerocopy::Unalign` to lower the alignment of individual fields
354362
= note: consider adding explicit fields where padding would be
355363
= note: consider using `#[repr(packed)]` to remove padding
356-
= help: the trait `DynamicPaddingFree<IntoBytes5, true>` is not implemented for `()`
357-
but trait `DynamicPaddingFree<IntoBytes5, false>` is implemented for it
364+
help: the trait `DynamicPaddingFree<IntoBytes5, true>` is not implemented for `()`
365+
but trait `DynamicPaddingFree<IntoBytes5, false>` is implemented for it
366+
--> $WORKSPACE/src/util/macro_util.rs
367+
|
368+
82 | impl<T: ?Sized> DynamicPaddingFree<T, false> for () {}
369+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
358370
= help: see issue #48214
359371
= note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
360372

@@ -367,8 +379,12 @@ error[E0277]: `IntoBytes6` has one or more padding bytes
367379
= note: consider using `zerocopy::Unalign` to lower the alignment of individual fields
368380
= note: consider adding explicit fields where padding would be
369381
= note: consider using `#[repr(packed)]` to remove padding
370-
= help: the trait `DynamicPaddingFree<IntoBytes6, true>` is not implemented for `()`
371-
but trait `DynamicPaddingFree<IntoBytes6, false>` is implemented for it
382+
help: the trait `DynamicPaddingFree<IntoBytes6, true>` is not implemented for `()`
383+
but trait `DynamicPaddingFree<IntoBytes6, false>` is implemented for it
384+
--> $WORKSPACE/src/util/macro_util.rs
385+
|
386+
82 | impl<T: ?Sized> DynamicPaddingFree<T, false> for () {}
387+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
372388
= help: see issue #48214
373389
= note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
374390

@@ -381,8 +397,12 @@ error[E0277]: `IntoBytes7` has one or more padding bytes
381397
= note: consider using `zerocopy::Unalign` to lower the alignment of individual fields
382398
= note: consider adding explicit fields where padding would be
383399
= note: consider using `#[repr(packed)]` to remove padding
384-
= help: the trait `DynamicPaddingFree<IntoBytes7, true>` is not implemented for `()`
385-
but trait `DynamicPaddingFree<IntoBytes7, false>` is implemented for it
400+
help: the trait `DynamicPaddingFree<IntoBytes7, true>` is not implemented for `()`
401+
but trait `DynamicPaddingFree<IntoBytes7, false>` is implemented for it
402+
--> $WORKSPACE/src/util/macro_util.rs
403+
|
404+
82 | impl<T: ?Sized> DynamicPaddingFree<T, false> for () {}
405+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
386406
= help: see issue #48214
387407
= note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
388408

@@ -428,10 +448,19 @@ error[E0277]: the trait bound `u8: SplitAt` is not satisfied
428448
| ^^^^^^^ the trait `SplitAt` is not implemented for `u8`
429449
|
430450
= note: Consider adding `#[derive(SplitAt)]` to `u8`
431-
= help: the following other types implement trait `SplitAt`:
432-
SplitAtNotKnownLayout
433-
SplitAtSized
434-
[T]
451+
help: the following other types implement trait `SplitAt`
452+
--> tests/ui-stable/struct.rs:278:10
453+
|
454+
278 | #[derive(SplitAt)]
455+
| ^^^^^^^ `SplitAtNotKnownLayout`
456+
...
457+
283 | #[derive(SplitAt, KnownLayout)]
458+
| ^^^^^^^ `SplitAtSized`
459+
|
460+
::: $WORKSPACE/src/split_at.rs
461+
|
462+
| unsafe impl<T> SplitAt for [T] {
463+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `[T]`
435464
= help: see issue #48214
436465
= note: this error originates in the derive macro `SplitAt` (in Nightly builds, run with -Z macro-backtrace for more info)
437466

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

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,12 @@ error[E0277]: `IntoBytes2` has 1 total byte(s) of padding
106106
= note: consider using `zerocopy::Unalign` to lower the alignment of individual fields
107107
= note: consider adding explicit fields where padding would be
108108
= note: consider using `#[repr(packed)]` to remove padding
109-
= help: the trait `PaddingFree<IntoBytes2, 1>` is not implemented for `()`
110-
but trait `PaddingFree<IntoBytes2, 0>` is implemented for it
109+
help: the trait `PaddingFree<IntoBytes2, 1>` is not implemented for `()`
110+
but trait `PaddingFree<IntoBytes2, 0>` is implemented for it
111+
--> $WORKSPACE/src/util/macro_util.rs
112+
|
113+
| impl<T: ?Sized> PaddingFree<T, 0> for () {}
114+
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
111115
= help: see issue #48214
112116
= note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
113117

0 commit comments

Comments
 (0)