Skip to content

Commit

Permalink
Fix UI tests
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Richey <[email protected]>
  • Loading branch information
josephlr committed Apr 4, 2024
1 parent ac67e29 commit 715b592
Show file tree
Hide file tree
Showing 12 changed files with 26 additions and 26 deletions.
2 changes: 1 addition & 1 deletion tests/ui-nightly/include_value_not_from_bytes.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ error[E0277]: the trait bound `NotZerocopy<u32>: zerocopy::FromBytes` is not sat
= help: the following other types implement trait `zerocopy::FromBytes`:
()
AU16
AtomicBool
AtomicI16
AtomicI32
AtomicI64
AtomicI8
AtomicIsize
AtomicU16
Expand Down
2 changes: 1 addition & 1 deletion tests/ui-nightly/transmute-dst-not-frombytes.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ error[E0277]: the trait bound `NotZerocopy: zerocopy::FromBytes` is not satisfie
= help: the following other types implement trait `zerocopy::FromBytes`:
()
AU16
AtomicBool
AtomicI16
AtomicI32
AtomicI64
AtomicI8
AtomicIsize
AtomicU16
Expand Down
2 changes: 1 addition & 1 deletion tests/ui-nightly/transmute-mut-dst-not-frombytes.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ error[E0277]: the trait bound `Dst: FromBytes` is not satisfied
|
= help: the following other types implement trait `FromBytes`:
()
AtomicBool
AtomicI16
AtomicI32
AtomicI64
AtomicI8
AtomicIsize
AtomicU16
Expand Down
2 changes: 1 addition & 1 deletion tests/ui-nightly/transmute-mut-dst-not-intobytes.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ error[E0277]: the trait bound `Dst: IntoBytes` is not satisfied
AtomicBool
AtomicI16
AtomicI32
AtomicI64
AtomicI8
AtomicIsize
AtomicU16
AtomicU32
and $N others
note: required by a bound in `AssertDstIsIntoBytes`
--> tests/ui-nightly/transmute-mut-dst-not-intobytes.rs:24:36
Expand Down
4 changes: 2 additions & 2 deletions tests/ui-nightly/transmute-mut-src-not-frombytes.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ error[E0277]: the trait bound `Src: FromBytes` is not satisfied
|
= help: the following other types implement trait `FromBytes`:
()
AtomicBool
AtomicI16
AtomicI32
AtomicI64
AtomicI8
AtomicIsize
AtomicU16
Expand All @@ -32,9 +32,9 @@ error[E0277]: the trait bound `Src: FromBytes` is not satisfied
|
= help: the following other types implement trait `FromBytes`:
()
AtomicBool
AtomicI16
AtomicI32
AtomicI64
AtomicI8
AtomicIsize
AtomicU16
Expand Down
4 changes: 2 additions & 2 deletions tests/ui-nightly/transmute-mut-src-not-intobytes.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ error[E0277]: the trait bound `Src: IntoBytes` is not satisfied
AtomicBool
AtomicI16
AtomicI32
AtomicI64
AtomicI8
AtomicIsize
AtomicU16
AtomicU32
and $N others
note: required by a bound in `AssertSrcIsIntoBytes`
--> tests/ui-nightly/transmute-mut-src-not-intobytes.rs:24:36
Expand All @@ -35,10 +35,10 @@ error[E0277]: the trait bound `Src: IntoBytes` is not satisfied
AtomicBool
AtomicI16
AtomicI32
AtomicI64
AtomicI8
AtomicIsize
AtomicU16
AtomicU32
and $N others
note: required by a bound in `AssertSrcIsIntoBytes`
--> tests/ui-nightly/transmute-mut-src-not-intobytes.rs:24:36
Expand Down
2 changes: 1 addition & 1 deletion tests/ui-nightly/transmute-ref-dst-not-frombytes.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ error[E0277]: the trait bound `Dst: zerocopy::FromBytes` is not satisfied
= help: the following other types implement trait `zerocopy::FromBytes`:
()
AU16
AtomicBool
AtomicI16
AtomicI32
AtomicI64
AtomicI8
AtomicIsize
AtomicU16
Expand Down
4 changes: 2 additions & 2 deletions tests/ui-nightly/transmute-ref-src-not-intobytes.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ error[E0277]: the trait bound `Src: zerocopy::IntoBytes` is not satisfied
AtomicBool
AtomicI16
AtomicI32
AtomicI64
AtomicI8
AtomicIsize
AtomicU16
and $N others
note: required by a bound in `AssertSrcIsIntoBytes`
--> tests/ui-nightly/transmute-ref-src-not-intobytes.rs:23:33
Expand All @@ -36,9 +36,9 @@ error[E0277]: the trait bound `Src: zerocopy::IntoBytes` is not satisfied
AtomicBool
AtomicI16
AtomicI32
AtomicI64
AtomicI8
AtomicIsize
AtomicU16
and $N others
note: required by a bound in `AssertSrcIsIntoBytes`
--> tests/ui-nightly/transmute-ref-src-not-intobytes.rs:23:33
Expand Down
4 changes: 2 additions & 2 deletions tests/ui-nightly/transmute-src-not-intobytes.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ error[E0277]: the trait bound `NotZerocopy<AU16>: zerocopy::IntoBytes` is not sa
AtomicBool
AtomicI16
AtomicI32
AtomicI64
AtomicI8
AtomicIsize
AtomicU16
and $N others
note: required by a bound in `AssertIsIntoBytes`
--> tests/ui-nightly/transmute-src-not-intobytes.rs:19:32
Expand All @@ -36,9 +36,9 @@ error[E0277]: the trait bound `NotZerocopy<AU16>: zerocopy::IntoBytes` is not sa
AtomicBool
AtomicI16
AtomicI32
AtomicI64
AtomicI8
AtomicIsize
AtomicU16
and $N others
note: required by a bound in `AssertIsIntoBytes`
--> tests/ui-nightly/transmute-src-not-intobytes.rs:19:32
Expand Down
8 changes: 4 additions & 4 deletions zerocopy-derive/tests/ui-nightly/derive_transparent.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ error[E0277]: the trait bound `NotZerocopy: TryFromBytes` is not satisfied
AtomicBool
AtomicI16
AtomicI32
AtomicI8
AtomicI64
and $N others
note: required for `TransparentStruct<NotZerocopy>` to implement `TryFromBytes`
--> tests/ui-nightly/derive_transparent.rs:24:21
Expand Down Expand Up @@ -40,7 +40,7 @@ error[E0277]: the trait bound `NotZerocopy: FromZeros` is not satisfied
AtomicBool
AtomicI16
AtomicI32
AtomicI8
AtomicI64
and $N others
note: required for `TransparentStruct<NotZerocopy>` to implement `FromZeros`
--> tests/ui-nightly/derive_transparent.rs:24:21
Expand All @@ -63,9 +63,9 @@ error[E0277]: the trait bound `NotZerocopy: zerocopy::FromBytes` is not satisfie
= help: the following other types implement trait `zerocopy::FromBytes`:
()
AU16
AtomicBool
AtomicI16
AtomicI32
AtomicI64
AtomicI8
AtomicIsize
AtomicU16
Expand Down Expand Up @@ -94,9 +94,9 @@ error[E0277]: the trait bound `NotZerocopy: zerocopy::IntoBytes` is not satisfie
AtomicBool
AtomicI16
AtomicI32
AtomicI64
AtomicI8
AtomicIsize
AtomicU16
and $N others
note: required for `TransparentStruct<NotZerocopy>` to implement `zerocopy::IntoBytes`
--> tests/ui-nightly/derive_transparent.rs:24:10
Expand Down
14 changes: 7 additions & 7 deletions zerocopy-derive/tests/ui-nightly/late_compile_pass.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ error[E0277]: the trait bound `NotZerocopy: TryFromBytes` is not satisfied
AtomicBool
AtomicI16
AtomicI32
AtomicI8
AtomicI64
and $N others
= help: see issue #48214
= note: this error originates in the derive macro `TryFromBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
Expand All @@ -43,7 +43,7 @@ error[E0277]: the trait bound `NotZerocopy: TryFromBytes` is not satisfied
AtomicBool
AtomicI16
AtomicI32
AtomicI8
AtomicI64
and $N others
= help: see issue #48214
= note: this error originates in the derive macro `FromZeros` (in Nightly builds, run with -Z macro-backtrace for more info)
Expand All @@ -66,7 +66,7 @@ error[E0277]: the trait bound `NotZerocopy: FromZeros` is not satisfied
AtomicBool
AtomicI16
AtomicI32
AtomicI8
AtomicI64
and $N others
= help: see issue #48214
= note: this error originates in the derive macro `FromZeros` (in Nightly builds, run with -Z macro-backtrace for more info)
Expand All @@ -89,7 +89,7 @@ error[E0277]: the trait bound `NotZerocopy: TryFromBytes` is not satisfied
AtomicBool
AtomicI16
AtomicI32
AtomicI8
AtomicI64
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)
Expand All @@ -112,7 +112,7 @@ error[E0277]: the trait bound `NotZerocopy: FromZeros` is not satisfied
AtomicBool
AtomicI16
AtomicI32
AtomicI8
AtomicI64
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)
Expand All @@ -130,9 +130,9 @@ error[E0277]: the trait bound `NotZerocopy: zerocopy::FromBytes` is not satisfie
= help: the following other types implement trait `zerocopy::FromBytes`:
()
AU16
AtomicBool
AtomicI16
AtomicI32
AtomicI64
AtomicI8
AtomicIsize
AtomicU16
Expand All @@ -156,9 +156,9 @@ error[E0277]: the trait bound `NotZerocopy: zerocopy::IntoBytes` is not satisfie
AtomicBool
AtomicI16
AtomicI32
AtomicI64
AtomicI8
AtomicIsize
AtomicU16
and $N others
= help: see issue #48214
= note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
Expand Down
4 changes: 2 additions & 2 deletions zerocopy-derive/tests/ui-nightly/struct.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ error[E0277]: the trait bound `NotKnownLayoutDst: zerocopy::KnownLayout` is not
AtomicBool
AtomicI16
AtomicI32
AtomicI8
AtomicI64
and $N others
= help: see issue #48214
= note: this error originates in the derive macro `KnownLayout` (in Nightly builds, run with -Z macro-backtrace for more info)
Expand All @@ -109,7 +109,7 @@ error[E0277]: the trait bound `NotKnownLayout: zerocopy::KnownLayout` is not sat
AtomicBool
AtomicI16
AtomicI32
AtomicI8
AtomicI64
and $N others
= help: see issue #48214
= note: this error originates in the derive macro `KnownLayout` (in Nightly builds, run with -Z macro-backtrace for more info)
Expand Down

0 comments on commit 715b592

Please sign in to comment.