diff --git a/Cargo.toml b/Cargo.toml index 2e27f90ece..6726686891 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,7 +25,7 @@ all-features = true [package.metadata.ci] # The versions of the stable and nightly compiler toolchains to use in CI. -pinned-stable = "1.69.0" +pinned-stable = "1.73.0" pinned-nightly = "nightly-2023-05-25" [features] diff --git a/tests/ui-stable/transmute-dst-not-frombytes.stderr b/tests/ui-stable/transmute-dst-not-frombytes.stderr index 223fa46d83..911f55eee6 100644 --- a/tests/ui-stable/transmute-dst-not-frombytes.stderr +++ b/tests/ui-stable/transmute-dst-not-frombytes.stderr @@ -5,14 +5,14 @@ error[E0277]: the trait bound `NotZerocopy: FromBytes` is not satisfied | ^^^^^^^^^^^^^^^^^^^ the trait `FromBytes` is not implemented for `NotZerocopy` | = help: the following other types implement trait `FromBytes`: - () - AU16 - F32 - F64 - I128 - I16 - I32 - I64 + isize + i8 + i16 + i32 + i64 + i128 + usize + u8 and $N others note: required by a bound in `DST_NOT_FROM_BYTES::transmute` --> tests/ui-stable/transmute-dst-not-frombytes.rs:14:41 diff --git a/tests/ui-stable/transmute-ref-dst-not-frombytes.stderr b/tests/ui-stable/transmute-ref-dst-not-frombytes.stderr index 5c324c8a99..ed6a688b13 100644 --- a/tests/ui-stable/transmute-ref-dst-not-frombytes.stderr +++ b/tests/ui-stable/transmute-ref-dst-not-frombytes.stderr @@ -5,14 +5,14 @@ error[E0277]: the trait bound `NotZerocopy: FromBytes` is not satisfied | ^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromBytes` is not implemented for `NotZerocopy` | = help: the following other types implement trait `FromBytes`: - () - AU16 - F32 - F64 - I128 - I16 - I32 - I64 + isize + i8 + i16 + i32 + i64 + i128 + usize + u8 and $N others note: required by a bound in `DST_NOT_FROM_BYTES::transmute` --> tests/ui-stable/transmute-ref-dst-not-frombytes.rs:14:42 diff --git a/tests/ui-stable/transmute-ref-dst-unsized.stderr b/tests/ui-stable/transmute-ref-dst-unsized.stderr index 911a0d6d4a..ae202204ae 100644 --- a/tests/ui-stable/transmute-ref-dst-unsized.stderr +++ b/tests/ui-stable/transmute-ref-dst-unsized.stderr @@ -77,4 +77,7 @@ note: required by a bound in `MaxAlignsOf::::new` | | impl MaxAlignsOf { | ^ required by this bound in `MaxAlignsOf::::new` + | #[inline(never)] // Make `missing_inline_in_public_items` happy. + | pub fn new(_t: T, _u: U) -> MaxAlignsOf { + | --- required by a bound in this associated function = note: this error originates in the macro `transmute_ref` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/tests/ui-stable/transmute-ref-src-dst-unsized.stderr b/tests/ui-stable/transmute-ref-src-dst-unsized.stderr index 1cde9863c3..de9991450c 100644 --- a/tests/ui-stable/transmute-ref-src-dst-unsized.stderr +++ b/tests/ui-stable/transmute-ref-src-dst-unsized.stderr @@ -105,6 +105,9 @@ note: required by a bound in `AlignOf::::into_t` | | impl AlignOf { | ^ required by this bound in `AlignOf::::into_t` + | #[inline(never)] // Make `missing_inline_in_public_items` happy. + | pub fn into_t(self) -> T { + | ------ required by a bound in this associated function = note: this error originates in the macro `transmute_ref` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the size for values of type `[u8]` cannot be known at compilation time @@ -146,6 +149,9 @@ note: required by a bound in `MaxAlignsOf::::new` | | impl MaxAlignsOf { | ^ required by this bound in `MaxAlignsOf::::new` + | #[inline(never)] // Make `missing_inline_in_public_items` happy. + | pub fn new(_t: T, _u: U) -> MaxAlignsOf { + | --- required by a bound in this associated function = note: this error originates in the macro `transmute_ref` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the size for values of type `[u8]` cannot be known at compilation time @@ -202,4 +208,7 @@ note: required by a bound in `MaxAlignsOf::::new` | | impl MaxAlignsOf { | ^ required by this bound in `MaxAlignsOf::::new` + | #[inline(never)] // Make `missing_inline_in_public_items` happy. + | pub fn new(_t: T, _u: U) -> MaxAlignsOf { + | --- required by a bound in this associated function = note: this error originates in the macro `transmute_ref` (in Nightly builds, run with -Z macro-backtrace for more info) diff --git a/tests/ui-stable/transmute-ref-src-not-asbytes.stderr b/tests/ui-stable/transmute-ref-src-not-asbytes.stderr index 44ec3548bc..f679febed8 100644 --- a/tests/ui-stable/transmute-ref-src-not-asbytes.stderr +++ b/tests/ui-stable/transmute-ref-src-not-asbytes.stderr @@ -8,14 +8,14 @@ error[E0277]: the trait bound `NotZerocopy: AsBytes` is not satisfied | required by a bound introduced by this call | = help: the following other types implement trait `AsBytes`: - () - AU16 - F32 - F64 - I128 - I16 - I32 - I64 + bool + char + isize + i8 + i16 + i32 + i64 + i128 and $N others note: required by a bound in `SRC_NOT_AS_BYTES::transmute` --> tests/ui-stable/transmute-ref-src-not-asbytes.rs:14:33 diff --git a/tests/ui-stable/transmute-ref-src-unsized.stderr b/tests/ui-stable/transmute-ref-src-unsized.stderr index 193b2c29be..f8675532f5 100644 --- a/tests/ui-stable/transmute-ref-src-unsized.stderr +++ b/tests/ui-stable/transmute-ref-src-unsized.stderr @@ -66,6 +66,9 @@ note: required by a bound in `AlignOf::::into_t` | | impl AlignOf { | ^ required by this bound in `AlignOf::::into_t` + | #[inline(never)] // Make `missing_inline_in_public_items` happy. + | pub fn into_t(self) -> T { + | ------ required by a bound in this associated function = note: this error originates in the macro `transmute_ref` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the size for values of type `[u8]` cannot be known at compilation time @@ -107,6 +110,9 @@ note: required by a bound in `MaxAlignsOf::::new` | | impl MaxAlignsOf { | ^ required by this bound in `MaxAlignsOf::::new` + | #[inline(never)] // Make `missing_inline_in_public_items` happy. + | pub fn new(_t: T, _u: U) -> MaxAlignsOf { + | --- required by a bound in this associated function = note: this error originates in the macro `transmute_ref` (in Nightly builds, run with -Z macro-backtrace for more info) error[E0277]: the size for values of type `[u8]` cannot be known at compilation time diff --git a/tests/ui-stable/transmute-src-not-asbytes.stderr b/tests/ui-stable/transmute-src-not-asbytes.stderr index 654dd03fa0..63d1846123 100644 --- a/tests/ui-stable/transmute-src-not-asbytes.stderr +++ b/tests/ui-stable/transmute-src-not-asbytes.stderr @@ -8,14 +8,14 @@ error[E0277]: the trait bound `NotZerocopy: AsBytes` is not satisfied | required by a bound introduced by this call | = help: the following other types implement trait `AsBytes`: - () - AU16 - F32 - F64 - I128 - I16 - I32 - I64 + bool + char + isize + i8 + i16 + i32 + i64 + i128 and $N others note: required by a bound in `SRC_NOT_AS_BYTES::transmute` --> tests/ui-stable/transmute-src-not-asbytes.rs:14:32 diff --git a/zerocopy-derive/tests/ui-stable/derive_transparent.stderr b/zerocopy-derive/tests/ui-stable/derive_transparent.stderr index 3810defe35..07cbc832c0 100644 --- a/zerocopy-derive/tests/ui-stable/derive_transparent.stderr +++ b/zerocopy-derive/tests/ui-stable/derive_transparent.stderr @@ -5,14 +5,14 @@ error[E0277]: the trait bound `NotZerocopy: FromZeroes` is not satisfied | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromZeroes` is not implemented for `NotZerocopy` | = help: the following other types implement trait `FromZeroes`: - () - AU16 - F32 - F64 - I128 - I16 - I32 - I64 + bool + char + isize + i8 + i16 + i32 + i64 + i128 and $N others note: required for `TransparentStruct` to implement `FromZeroes` --> tests/ui-stable/derive_transparent.rs:23:19 @@ -33,14 +33,14 @@ error[E0277]: the trait bound `NotZerocopy: FromBytes` is not satisfied | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromBytes` is not implemented for `NotZerocopy` | = help: the following other types implement trait `FromBytes`: - () - AU16 - F32 - F64 - I128 - I16 - I32 - I64 + isize + i8 + i16 + i32 + i64 + i128 + usize + u8 and $N others note: required for `TransparentStruct` to implement `FromBytes` --> tests/ui-stable/derive_transparent.rs:23:31 @@ -61,14 +61,14 @@ error[E0277]: the trait bound `NotZerocopy: AsBytes` is not satisfied | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `AsBytes` is not implemented for `NotZerocopy` | = help: the following other types implement trait `AsBytes`: - () - AU16 - F32 - F64 - I128 - I16 - I32 - I64 + bool + char + isize + i8 + i16 + i32 + i64 + i128 and $N others note: required for `TransparentStruct` to implement `AsBytes` --> tests/ui-stable/derive_transparent.rs:23:10 @@ -89,14 +89,14 @@ error[E0277]: the trait bound `NotZerocopy: Unaligned` is not satisfied | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Unaligned` is not implemented for `NotZerocopy` | = help: the following other types implement trait `Unaligned`: - () - F32 - F64 - I128 - I16 - I32 - I64 - ManuallyDrop + bool + i8 + u8 + TransparentStruct + U16 + U32 + U64 + U128 and $N others note: required for `TransparentStruct` to implement `Unaligned` --> tests/ui-stable/derive_transparent.rs:23:42 diff --git a/zerocopy-derive/tests/ui-stable/late_compile_pass.stderr b/zerocopy-derive/tests/ui-stable/late_compile_pass.stderr index eab9b97f9b..ab54c5ee8c 100644 --- a/zerocopy-derive/tests/ui-stable/late_compile_pass.stderr +++ b/zerocopy-derive/tests/ui-stable/late_compile_pass.stderr @@ -5,14 +5,14 @@ error[E0277]: the trait bound `NotZerocopy: FromZeroes` is not satisfied | ^^^^^^^^^^ the trait `FromZeroes` is not implemented for `NotZerocopy` | = help: the following other types implement trait `FromZeroes`: - () - AU16 - F32 - F64 - FromZeroes1 - I128 - I16 - I32 + bool + char + isize + i8 + i16 + i32 + i64 + i128 and $N others = help: see issue #48214 = note: this error originates in the derive macro `FromZeroes` (in Nightly builds, run with -Z macro-backtrace for more info) @@ -24,14 +24,14 @@ error[E0277]: the trait bound `NotZerocopy: FromBytes` is not satisfied | ^^^^^^^^^ the trait `FromBytes` is not implemented for `NotZerocopy` | = help: the following other types implement trait `FromBytes`: - () - AU16 - F32 - F64 - FromBytes1 - I128 - I16 - I32 + isize + i8 + i16 + i32 + i64 + i128 + usize + u8 and $N others = help: see issue #48214 = note: this error originates in the derive macro `FromBytes` (in Nightly builds, run with -Z macro-backtrace for more info) @@ -43,14 +43,14 @@ error[E0277]: the trait bound `FromBytes1: FromZeroes` is not satisfied | ^^^^^^^^^ the trait `FromZeroes` is not implemented for `FromBytes1` | = help: the following other types implement trait `FromZeroes`: - () - AU16 - F32 - F64 - FromZeroes1 - I128 - I16 - I32 + bool + char + isize + i8 + i16 + i32 + i64 + i128 and $N others note: required by a bound in `FromBytes` --> $WORKSPACE/src/lib.rs @@ -66,14 +66,14 @@ error[E0277]: the trait bound `NotZerocopy: AsBytes` is not satisfied | ^^^^^^^ the trait `AsBytes` is not implemented for `NotZerocopy` | = help: the following other types implement trait `AsBytes`: - () - AU16 - AsBytes1 - F32 - F64 - I128 - I16 - I32 + bool + char + isize + i8 + i16 + i32 + i64 + i128 and $N others = help: see issue #48214 = note: this error originates in the derive macro `AsBytes` (in Nightly builds, run with -Z macro-backtrace for more info) @@ -85,14 +85,14 @@ error[E0277]: the trait bound `AU16: Unaligned` is not satisfied | ^^^^^^^^^ the trait `Unaligned` is not implemented for `AU16` | = help: the following other types implement trait `Unaligned`: - () - F32 - F64 - I128 - I16 - I32 - I64 - ManuallyDrop + bool + i8 + u8 + Unaligned1 + Unaligned2 + Unaligned3 + U16 + U32 and $N others = help: see issue #48214 = note: this error originates in the derive macro `Unaligned` (in Nightly builds, run with -Z macro-backtrace for more info) @@ -104,14 +104,14 @@ error[E0277]: the trait bound `AU16: Unaligned` is not satisfied | ^^^^^^^^^ the trait `Unaligned` is not implemented for `AU16` | = help: the following other types implement trait `Unaligned`: - () - F32 - F64 - I128 - I16 - I32 - I64 - ManuallyDrop + bool + i8 + u8 + Unaligned1 + Unaligned2 + Unaligned3 + U16 + U32 and $N others = help: see issue #48214 = note: this error originates in the derive macro `Unaligned` (in Nightly builds, run with -Z macro-backtrace for more info) @@ -123,14 +123,14 @@ error[E0277]: the trait bound `AU16: Unaligned` is not satisfied | ^^^^^^^^^ the trait `Unaligned` is not implemented for `AU16` | = help: the following other types implement trait `Unaligned`: - () - F32 - F64 - I128 - I16 - I32 - I64 - ManuallyDrop + bool + i8 + u8 + Unaligned1 + Unaligned2 + Unaligned3 + U16 + U32 and $N others = help: see issue #48214 = note: this error originates in the derive macro `Unaligned` (in Nightly builds, run with -Z macro-backtrace for more info)