Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ no-zerocopy-panic-in-const-and-vec-try-reserve-1-57-0 = "1.57.0"
[package.metadata.ci]
# The versions of the stable and nightly compiler toolchains to use in CI.
pinned-stable = "1.93.0"
pinned-nightly = "nightly-2026-01-25"
pinned-nightly = "nightly-2026-02-25"

[package.metadata.docs.rs]
all-features = true
Expand Down
15 changes: 10 additions & 5 deletions zerocopy-derive/tests/ui/derive_transparent.nightly.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ note: required for `TransparentStruct<NotZerocopy>` to implement `zerocopy_renam
--> $DIR/derive_transparent.rs:24:21
|
24 | #[derive(IntoBytes, FromBytes, Unaligned)]
| ^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro
| ^^^^^^^^^ type parameter would need to implement `zerocopy_renamed::TryFromBytes`
= help: consider manually implementing `zerocopy_renamed::TryFromBytes` to avoid undesired bounds
note: required by a bound in `_::{closure#0}::_::{closure#0}::assert_impl_all`
--> $DIR/../include.rs:74:17
|
Expand Down Expand Up @@ -63,7 +64,8 @@ note: required for `TransparentStruct<NotZerocopy>` to implement `FromZeros`
--> $DIR/derive_transparent.rs:24:21
|
24 | #[derive(IntoBytes, FromBytes, Unaligned)]
| ^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro
| ^^^^^^^^^ type parameter would need to implement `FromZeros`
= help: consider manually implementing `FromZeros` to avoid undesired bounds
note: required by a bound in `_::{closure#0}::_::{closure#0}::assert_impl_all`
--> $DIR/../include.rs:74:17
|
Expand Down Expand Up @@ -102,7 +104,8 @@ note: required for `TransparentStruct<NotZerocopy>` to implement `zerocopy_renam
--> $DIR/derive_transparent.rs:24:21
|
24 | #[derive(IntoBytes, FromBytes, Unaligned)]
| ^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro
| ^^^^^^^^^ type parameter would need to implement `zerocopy_renamed::FromBytes`
= help: consider manually implementing `zerocopy_renamed::FromBytes` to avoid undesired bounds
note: required by a bound in `_::{closure#0}::_::{closure#0}::assert_impl_all`
--> $DIR/../include.rs:74:17
|
Expand Down Expand Up @@ -141,7 +144,8 @@ note: required for `TransparentStruct<NotZerocopy>` to implement `zerocopy_renam
--> $DIR/derive_transparent.rs:24:10
|
24 | #[derive(IntoBytes, FromBytes, Unaligned)]
| ^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro
| ^^^^^^^^^ type parameter would need to implement `zerocopy_renamed::IntoBytes`
= help: consider manually implementing `zerocopy_renamed::IntoBytes` to avoid undesired bounds
note: required by a bound in `_::{closure#0}::_::{closure#0}::assert_impl_all`
--> $DIR/../include.rs:74:17
|
Expand Down Expand Up @@ -180,7 +184,8 @@ note: required for `TransparentStruct<NotZerocopy>` to implement `zerocopy_renam
--> $DIR/derive_transparent.rs:24:32
|
24 | #[derive(IntoBytes, FromBytes, Unaligned)]
| ^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro
| ^^^^^^^^^ type parameter would need to implement `zerocopy_renamed::Unaligned`
= help: consider manually implementing `zerocopy_renamed::Unaligned` to avoid undesired bounds
note: required by a bound in `_::{closure#0}::_::{closure#0}::assert_impl_all`
--> $DIR/../include.rs:74:17
|
Expand Down
3 changes: 2 additions & 1 deletion zerocopy-derive/tests/ui/enum.nightly.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,8 @@ note: required for `FooU8` to implement `FromBytes`
--> $DIR/enum.rs:247:10
|
247 | #[derive(FromBytes)]
| ^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro
| ^^^^^^^^^ type parameter would need to implement `FromBytes`
= help: consider manually implementing `FromBytes` to avoid undesired bounds
note: required by a bound in `assert_is_from_bytes`
--> $DIR/enum.rs:247:10
|
Expand Down
3 changes: 2 additions & 1 deletion zerocopy-derive/tests/ui/late_compile_pass.nightly.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,8 @@ note: required for `FromBytes1` to implement `zerocopy_renamed::FromBytes`
--> $DIR/late_compile_pass.rs:54:10
|
54 | #[derive(FromBytes)]
| ^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro
| ^^^^^^^^^ type parameter would need to implement `zerocopy_renamed::FromBytes`
= help: consider manually implementing `zerocopy_renamed::FromBytes` to avoid undesired bounds
note: required by a bound in `_::_::<impl zerocopy_renamed::TryFromBytes for FromBytes1>::is_bit_valid::assert_is_from_bytes`
--> $DIR/late_compile_pass.rs:54:10
|
Expand Down
12 changes: 8 additions & 4 deletions zerocopy-derive/tests/ui/mid_compile_pass.nightly.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ note: required for `KL13<T>` to implement `KnownLayout`
--> $DIR/mid_compile_pass.rs:62:10
|
62 | #[derive(KnownLayout)]
| ^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro
| ^^^^^^^^^^^ type parameter would need to implement `KnownLayout`
= help: consider manually implementing `KnownLayout` to avoid undesired bounds
= note: this error originates in the derive macro `KnownLayout` (in Nightly builds, run with -Z macro-backtrace for more info)
help: consider restricting type parameter `T` with trait `KnownLayout`
|
Expand All @@ -38,7 +39,8 @@ note: required for `KL04<T>` to implement `KnownLayout`
--> $DIR/mid_compile_pass.rs:27:10
|
27 | #[derive(KnownLayout)]
| ^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro
| ^^^^^^^^^^^ type parameter would need to implement `KnownLayout`
= help: consider manually implementing `KnownLayout` to avoid undesired bounds
note: required by a bound in `assert_kl`
--> $DIR/mid_compile_pass.rs:23:26
|
Expand Down Expand Up @@ -70,7 +72,8 @@ note: required for `KL06<T>` to implement `KnownLayout`
--> $DIR/mid_compile_pass.rs:38:10
|
38 | #[derive(KnownLayout)]
| ^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro
| ^^^^^^^^^^^ type parameter would need to implement `KnownLayout`
= help: consider manually implementing `KnownLayout` to avoid undesired bounds
note: required by a bound in `assert_kl`
--> $DIR/mid_compile_pass.rs:23:26
|
Expand All @@ -95,7 +98,8 @@ note: required for `KL12<T>` to implement `KnownLayout`
--> $DIR/mid_compile_pass.rs:49:10
|
49 | #[derive(KnownLayout)]
| ^^^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro
| ^^^^^^^^^^^ type parameter would need to implement `KnownLayout`
= help: consider manually implementing `KnownLayout` to avoid undesired bounds
note: required by a bound in `assert_kl`
--> $DIR/mid_compile_pass.rs:23:26
|
Expand Down
3 changes: 2 additions & 1 deletion zerocopy-derive/tests/ui/msrv_specific.nightly.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@ note: required for `IntoBytes1<AU16>` to implement `zerocopy_renamed::IntoBytes`
--> $DIR/msrv_specific.rs:25:10
|
25 | #[derive(IntoBytes)]
| ^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro
| ^^^^^^^^^ type parameter would need to implement `zerocopy_renamed::IntoBytes`
= help: consider manually implementing `zerocopy_renamed::IntoBytes` to avoid undesired bounds
note: required by a bound in `is_into_bytes_1`
--> $DIR/msrv_specific.rs:35:23
|
Expand Down
3 changes: 2 additions & 1 deletion zerocopy-derive/tests/ui/struct.nightly.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,8 @@ note: required for `IntoBytes11<AU16>` to implement `zerocopy_renamed::IntoBytes
--> $DIR/struct.rs:232:10
|
232 | #[derive(IntoBytes)]
| ^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro
| ^^^^^^^^^ type parameter would need to implement `zerocopy_renamed::IntoBytes`
= help: consider manually implementing `zerocopy_renamed::IntoBytes` to avoid undesired bounds
note: required by a bound in `is_into_bytes_11`
--> $DIR/struct.rs:242:24
|
Expand Down
Loading