-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ci] Don't skip UI tests on zerocopy-derive.
This had been done as a workaround for `byteorder` changing error messages, but `byteorder` is no longer a feature.
- Loading branch information
Showing
6 changed files
with
71 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,20 @@ | ||
error[E0277]: the trait bound `NotZerocopy<u32>: FromBytes` is not satisfied | ||
--> tests/ui-msrv/include_value_not_from_bytes.rs:13:42 | ||
| | ||
13 | const NOT_FROM_BYTES: NotZerocopy<u32> = include_value!("../../testdata/include_value/data"); | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromBytes` is not implemented for `NotZerocopy<u32>` | ||
| | ||
note: required by a bound in `AssertIsFromBytes` | ||
--> tests/ui-msrv/include_value_not_from_bytes.rs:13:42 | ||
| | ||
13 | const NOT_FROM_BYTES: NotZerocopy<u32> = include_value!("../../testdata/include_value/data"); | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `AssertIsFromBytes` | ||
= note: this error originates in the macro `$crate::transmute` (in Nightly builds, run with -Z macro-backtrace for more info) | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE |
109 changes: 20 additions & 89 deletions
109
zerocopy-derive/tests/ui-msrv/derive_transparent.stderr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,89 +1,20 @@ | ||
error[E0277]: the trait bound `NotZerocopy: TryFromBytes` is not satisfied | ||
--> tests/ui-msrv/derive_transparent.rs:37:1 | ||
| | ||
37 | assert_impl_all!(TransparentStruct<NotZerocopy>: TryFromBytes); | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `TryFromBytes` is not implemented for `NotZerocopy` | ||
| | ||
note: required because of the requirements on the impl of `TryFromBytes` for `TransparentStruct<NotZerocopy>` | ||
--> tests/ui-msrv/derive_transparent.rs:27:21 | ||
| | ||
27 | #[derive(IntoBytes, TryFromBytes, FromZeros, FromBytes, Unaligned)] | ||
| ^^^^^^^^^^^^ | ||
note: required by a bound in `_::{closure#0}::assert_impl_all` | ||
--> tests/ui-msrv/derive_transparent.rs:37:1 | ||
| | ||
37 | assert_impl_all!(TransparentStruct<NotZerocopy>: TryFromBytes); | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `_::{closure#0}::assert_impl_all` | ||
= note: this error originates in the macro `assert_impl_all` (in Nightly builds, run with -Z macro-backtrace for more info) | ||
|
||
error[E0277]: the trait bound `NotZerocopy: FromZeroes` is not satisfied | ||
--> tests/ui-msrv/derive_transparent.rs:38:1 | ||
| | ||
38 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromZeros); | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromZeroes` is not implemented for `NotZerocopy` | ||
| | ||
note: required because of the requirements on the impl of `FromZeroes` for `TransparentStruct<NotZerocopy>` | ||
--> tests/ui-msrv/derive_transparent.rs:27:35 | ||
| | ||
27 | #[derive(IntoBytes, TryFromBytes, FromZeros, FromBytes, Unaligned)] | ||
| ^^^^^^^^^ | ||
note: required by a bound in `_::{closure#0}::assert_impl_all` | ||
--> tests/ui-msrv/derive_transparent.rs:38:1 | ||
| | ||
38 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromZeros); | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `_::{closure#0}::assert_impl_all` | ||
= note: this error originates in the macro `assert_impl_all` (in Nightly builds, run with -Z macro-backtrace for more info) | ||
|
||
error[E0277]: the trait bound `NotZerocopy: FromBytes` is not satisfied | ||
--> tests/ui-msrv/derive_transparent.rs:39:1 | ||
| | ||
39 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromBytes); | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromBytes` is not implemented for `NotZerocopy` | ||
| | ||
note: required because of the requirements on the impl of `FromBytes` for `TransparentStruct<NotZerocopy>` | ||
--> tests/ui-msrv/derive_transparent.rs:27:46 | ||
| | ||
27 | #[derive(IntoBytes, TryFromBytes, FromZeros, FromBytes, Unaligned)] | ||
| ^^^^^^^^^ | ||
note: required by a bound in `_::{closure#0}::assert_impl_all` | ||
--> tests/ui-msrv/derive_transparent.rs:39:1 | ||
| | ||
39 | assert_impl_all!(TransparentStruct<NotZerocopy>: FromBytes); | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `_::{closure#0}::assert_impl_all` | ||
= note: this error originates in the macro `assert_impl_all` (in Nightly builds, run with -Z macro-backtrace for more info) | ||
|
||
error[E0277]: the trait bound `NotZerocopy: AsBytes` is not satisfied | ||
--> tests/ui-msrv/derive_transparent.rs:40:1 | ||
| | ||
40 | assert_impl_all!(TransparentStruct<NotZerocopy>: IntoBytes); | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `AsBytes` is not implemented for `NotZerocopy` | ||
| | ||
note: required because of the requirements on the impl of `AsBytes` for `TransparentStruct<NotZerocopy>` | ||
--> tests/ui-msrv/derive_transparent.rs:27:10 | ||
| | ||
27 | #[derive(IntoBytes, TryFromBytes, FromZeros, FromBytes, Unaligned)] | ||
| ^^^^^^^^^ | ||
note: required by a bound in `_::{closure#0}::assert_impl_all` | ||
--> tests/ui-msrv/derive_transparent.rs:40:1 | ||
| | ||
40 | assert_impl_all!(TransparentStruct<NotZerocopy>: IntoBytes); | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `_::{closure#0}::assert_impl_all` | ||
= note: this error originates in the macro `assert_impl_all` (in Nightly builds, run with -Z macro-backtrace for more info) | ||
|
||
error[E0277]: the trait bound `NotZerocopy: Unaligned` is not satisfied | ||
--> tests/ui-msrv/derive_transparent.rs:41:1 | ||
| | ||
41 | assert_impl_all!(TransparentStruct<NotZerocopy>: Unaligned); | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Unaligned` is not implemented for `NotZerocopy` | ||
| | ||
note: required because of the requirements on the impl of `Unaligned` for `TransparentStruct<NotZerocopy>` | ||
--> tests/ui-msrv/derive_transparent.rs:27:57 | ||
| | ||
27 | #[derive(IntoBytes, TryFromBytes, FromZeros, FromBytes, Unaligned)] | ||
| ^^^^^^^^^ | ||
note: required by a bound in `_::{closure#0}::assert_impl_all` | ||
--> tests/ui-msrv/derive_transparent.rs:41:1 | ||
| | ||
41 | assert_impl_all!(TransparentStruct<NotZerocopy>: Unaligned); | ||
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `_::{closure#0}::assert_impl_all` | ||
= note: this error originates in the macro `assert_impl_all` (in Nightly builds, run with -Z macro-backtrace for more info) | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE | ||
DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE DO NOT MERGE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters