Skip to content

Commit 61cb559

Browse files
committed
Fix UI tests
Signed-off-by: Joe Richey <[email protected]>
1 parent 5a18148 commit 61cb559

16 files changed

+32
-32
lines changed

tests/ui-nightly/include_value_not_from_bytes.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ error[E0277]: the trait bound `NotZerocopy<u32>: zerocopy::FromBytes` is not sat
1010
= help: the following other types implement trait `zerocopy::FromBytes`:
1111
()
1212
AU16
13-
AtomicBool
1413
AtomicI16
1514
AtomicI32
15+
AtomicI64
1616
AtomicI8
1717
AtomicIsize
1818
AtomicU16

tests/ui-nightly/transmute-dst-not-frombytes.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ error[E0277]: the trait bound `NotZerocopy: zerocopy::FromBytes` is not satisfie
1010
= help: the following other types implement trait `zerocopy::FromBytes`:
1111
()
1212
AU16
13-
AtomicBool
1413
AtomicI16
1514
AtomicI32
15+
AtomicI64
1616
AtomicI8
1717
AtomicIsize
1818
AtomicU16

tests/ui-nightly/transmute-mut-dst-not-frombytes.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ error[E0277]: the trait bound `Dst: FromBytes` is not satisfied
99
|
1010
= help: the following other types implement trait `FromBytes`:
1111
()
12-
AtomicBool
1312
AtomicI16
1413
AtomicI32
14+
AtomicI64
1515
AtomicI8
1616
AtomicIsize
1717
AtomicU16

tests/ui-nightly/transmute-mut-dst-not-intobytes.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ error[E0277]: the trait bound `Dst: IntoBytes` is not satisfied
1212
AtomicBool
1313
AtomicI16
1414
AtomicI32
15+
AtomicI64
1516
AtomicI8
1617
AtomicIsize
1718
AtomicU16
18-
AtomicU32
1919
and $N others
2020
note: required by a bound in `AssertDstIsIntoBytes`
2121
--> tests/ui-nightly/transmute-mut-dst-not-intobytes.rs:24:36

tests/ui-nightly/transmute-mut-dst-not-nocell.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ error[E0277]: the trait bound `Dst: NoCell` is not satisfied
1313
()
1414
*const T
1515
*mut T
16-
Box<T>
1716
F32<O>
1817
F64<O>
18+
I128<O>
1919
and $N others
2020
note: required by a bound in `AssertDstIsNoCell`
2121
--> tests/ui-nightly/transmute-mut-dst-not-nocell.rs:24:35

tests/ui-nightly/transmute-mut-src-not-frombytes.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ error[E0277]: the trait bound `Src: FromBytes` is not satisfied
99
|
1010
= help: the following other types implement trait `FromBytes`:
1111
()
12-
AtomicBool
1312
AtomicI16
1413
AtomicI32
14+
AtomicI64
1515
AtomicI8
1616
AtomicIsize
1717
AtomicU16
@@ -32,9 +32,9 @@ error[E0277]: the trait bound `Src: FromBytes` is not satisfied
3232
|
3333
= help: the following other types implement trait `FromBytes`:
3434
()
35-
AtomicBool
3635
AtomicI16
3736
AtomicI32
37+
AtomicI64
3838
AtomicI8
3939
AtomicIsize
4040
AtomicU16

tests/ui-nightly/transmute-mut-src-not-intobytes.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ error[E0277]: the trait bound `Src: IntoBytes` is not satisfied
1212
AtomicBool
1313
AtomicI16
1414
AtomicI32
15+
AtomicI64
1516
AtomicI8
1617
AtomicIsize
1718
AtomicU16
18-
AtomicU32
1919
and $N others
2020
note: required by a bound in `AssertSrcIsIntoBytes`
2121
--> tests/ui-nightly/transmute-mut-src-not-intobytes.rs:24:36
@@ -35,10 +35,10 @@ error[E0277]: the trait bound `Src: IntoBytes` is not satisfied
3535
AtomicBool
3636
AtomicI16
3737
AtomicI32
38+
AtomicI64
3839
AtomicI8
3940
AtomicIsize
4041
AtomicU16
41-
AtomicU32
4242
and $N others
4343
note: required by a bound in `AssertSrcIsIntoBytes`
4444
--> tests/ui-nightly/transmute-mut-src-not-intobytes.rs:24:36

tests/ui-nightly/transmute-mut-src-not-nocell.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ error[E0277]: the trait bound `Src: NoCell` is not satisfied
1313
()
1414
*const T
1515
*mut T
16-
Box<T>
1716
Dst
1817
F32<O>
18+
F64<O>
1919
and $N others
2020
note: required by a bound in `AssertSrcIsNoCell`
2121
--> tests/ui-nightly/transmute-mut-src-not-nocell.rs:24:35
@@ -36,9 +36,9 @@ error[E0277]: the trait bound `Src: NoCell` is not satisfied
3636
()
3737
*const T
3838
*mut T
39-
Box<T>
4039
Dst
4140
F32<O>
41+
F64<O>
4242
and $N others
4343
note: required by a bound in `AssertSrcIsNoCell`
4444
--> tests/ui-nightly/transmute-mut-src-not-nocell.rs:24:35

tests/ui-nightly/transmute-ref-dst-not-frombytes.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ error[E0277]: the trait bound `Dst: zerocopy::FromBytes` is not satisfied
1010
= help: the following other types implement trait `zerocopy::FromBytes`:
1111
()
1212
AU16
13-
AtomicBool
1413
AtomicI16
1514
AtomicI32
15+
AtomicI64
1616
AtomicI8
1717
AtomicIsize
1818
AtomicU16

tests/ui-nightly/transmute-ref-dst-not-nocell.stderr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ error[E0277]: the trait bound `Dst: zerocopy::NoCell` is not satisfied
1414
*const T
1515
*mut T
1616
AU16
17-
Box<T>
1817
F32<O>
18+
F64<O>
1919
and $N others
2020
note: required by a bound in `AssertDstIsNoCell`
2121
--> tests/ui-nightly/transmute-ref-dst-not-nocell.rs:23:31

tests/ui-nightly/transmute-ref-src-not-intobytes.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ error[E0277]: the trait bound `Src: zerocopy::IntoBytes` is not satisfied
1313
AtomicBool
1414
AtomicI16
1515
AtomicI32
16+
AtomicI64
1617
AtomicI8
1718
AtomicIsize
18-
AtomicU16
1919
and $N others
2020
note: required by a bound in `AssertSrcIsIntoBytes`
2121
--> tests/ui-nightly/transmute-ref-src-not-intobytes.rs:23:33
@@ -36,9 +36,9 @@ error[E0277]: the trait bound `Src: zerocopy::IntoBytes` is not satisfied
3636
AtomicBool
3737
AtomicI16
3838
AtomicI32
39+
AtomicI64
3940
AtomicI8
4041
AtomicIsize
41-
AtomicU16
4242
and $N others
4343
note: required by a bound in `AssertSrcIsIntoBytes`
4444
--> tests/ui-nightly/transmute-ref-src-not-intobytes.rs:23:33

tests/ui-nightly/transmute-ref-src-not-nocell.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ error[E0277]: the trait bound `Src: zerocopy::NoCell` is not satisfied
1414
*const T
1515
*mut T
1616
AU16
17-
Box<T>
1817
F32<O>
18+
F64<O>
1919
and $N others
2020
note: required by a bound in `AssertSrcIsNoCell`
2121
--> tests/ui-nightly/transmute-ref-src-not-nocell.rs:23:32
@@ -37,8 +37,8 @@ error[E0277]: the trait bound `Src: zerocopy::NoCell` is not satisfied
3737
*const T
3838
*mut T
3939
AU16
40-
Box<T>
4140
F32<O>
41+
F64<O>
4242
and $N others
4343
note: required by a bound in `AssertSrcIsNoCell`
4444
--> tests/ui-nightly/transmute-ref-src-not-nocell.rs:23:32

tests/ui-nightly/transmute-src-not-intobytes.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ error[E0277]: the trait bound `NotZerocopy<AU16>: zerocopy::IntoBytes` is not sa
1313
AtomicBool
1414
AtomicI16
1515
AtomicI32
16+
AtomicI64
1617
AtomicI8
1718
AtomicIsize
18-
AtomicU16
1919
and $N others
2020
note: required by a bound in `AssertIsIntoBytes`
2121
--> tests/ui-nightly/transmute-src-not-intobytes.rs:19:32
@@ -36,9 +36,9 @@ error[E0277]: the trait bound `NotZerocopy<AU16>: zerocopy::IntoBytes` is not sa
3636
AtomicBool
3737
AtomicI16
3838
AtomicI32
39+
AtomicI64
3940
AtomicI8
4041
AtomicIsize
41-
AtomicU16
4242
and $N others
4343
note: required by a bound in `AssertIsIntoBytes`
4444
--> tests/ui-nightly/transmute-src-not-intobytes.rs:19:32

zerocopy-derive/tests/ui-nightly/derive_transparent.stderr

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ error[E0277]: the trait bound `NotZerocopy: TryFromBytes` is not satisfied
1212
AtomicBool
1313
AtomicI16
1414
AtomicI32
15-
AtomicI8
15+
AtomicI64
1616
and $N others
1717
note: required for `TransparentStruct<NotZerocopy>` to implement `TryFromBytes`
1818
--> tests/ui-nightly/derive_transparent.rs:24:21
@@ -40,7 +40,7 @@ error[E0277]: the trait bound `NotZerocopy: FromZeros` is not satisfied
4040
AtomicBool
4141
AtomicI16
4242
AtomicI32
43-
AtomicI8
43+
AtomicI64
4444
and $N others
4545
note: required for `TransparentStruct<NotZerocopy>` to implement `FromZeros`
4646
--> tests/ui-nightly/derive_transparent.rs:24:21
@@ -63,9 +63,9 @@ error[E0277]: the trait bound `NotZerocopy: zerocopy::FromBytes` is not satisfie
6363
= help: the following other types implement trait `zerocopy::FromBytes`:
6464
()
6565
AU16
66-
AtomicBool
6766
AtomicI16
6867
AtomicI32
68+
AtomicI64
6969
AtomicI8
7070
AtomicIsize
7171
AtomicU16
@@ -94,9 +94,9 @@ error[E0277]: the trait bound `NotZerocopy: zerocopy::IntoBytes` is not satisfie
9494
AtomicBool
9595
AtomicI16
9696
AtomicI32
97+
AtomicI64
9798
AtomicI8
9899
AtomicIsize
99-
AtomicU16
100100
and $N others
101101
note: required for `TransparentStruct<NotZerocopy>` to implement `zerocopy::IntoBytes`
102102
--> tests/ui-nightly/derive_transparent.rs:24:10

zerocopy-derive/tests/ui-nightly/late_compile_pass.stderr

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ error[E0277]: the trait bound `NotZerocopy: TryFromBytes` is not satisfied
2020
AtomicBool
2121
AtomicI16
2222
AtomicI32
23-
AtomicI8
23+
AtomicI64
2424
and $N others
2525
= help: see issue #48214
2626
= note: this error originates in the derive macro `TryFromBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
@@ -43,7 +43,7 @@ error[E0277]: the trait bound `NotZerocopy: TryFromBytes` is not satisfied
4343
AtomicBool
4444
AtomicI16
4545
AtomicI32
46-
AtomicI8
46+
AtomicI64
4747
and $N others
4848
= help: see issue #48214
4949
= note: this error originates in the derive macro `FromZeros` (in Nightly builds, run with -Z macro-backtrace for more info)
@@ -66,7 +66,7 @@ error[E0277]: the trait bound `NotZerocopy: FromZeros` is not satisfied
6666
AtomicBool
6767
AtomicI16
6868
AtomicI32
69-
AtomicI8
69+
AtomicI64
7070
and $N others
7171
= help: see issue #48214
7272
= note: this error originates in the derive macro `FromZeros` (in Nightly builds, run with -Z macro-backtrace for more info)
@@ -89,7 +89,7 @@ error[E0277]: the trait bound `NotZerocopy: TryFromBytes` is not satisfied
8989
AtomicBool
9090
AtomicI16
9191
AtomicI32
92-
AtomicI8
92+
AtomicI64
9393
and $N others
9494
= help: see issue #48214
9595
= note: this error originates in the derive macro `FromBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
@@ -112,7 +112,7 @@ error[E0277]: the trait bound `NotZerocopy: FromZeros` is not satisfied
112112
AtomicBool
113113
AtomicI16
114114
AtomicI32
115-
AtomicI8
115+
AtomicI64
116116
and $N others
117117
= help: see issue #48214
118118
= note: this error originates in the derive macro `FromBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
@@ -130,9 +130,9 @@ error[E0277]: the trait bound `NotZerocopy: zerocopy::FromBytes` is not satisfie
130130
= help: the following other types implement trait `zerocopy::FromBytes`:
131131
()
132132
AU16
133-
AtomicBool
134133
AtomicI16
135134
AtomicI32
135+
AtomicI64
136136
AtomicI8
137137
AtomicIsize
138138
AtomicU16
@@ -156,9 +156,9 @@ error[E0277]: the trait bound `NotZerocopy: zerocopy::IntoBytes` is not satisfie
156156
AtomicBool
157157
AtomicI16
158158
AtomicI32
159+
AtomicI64
159160
AtomicI8
160161
AtomicIsize
161-
AtomicU16
162162
and $N others
163163
= help: see issue #48214
164164
= note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ error[E0277]: the trait bound `NotKnownLayoutDst: zerocopy::KnownLayout` is not
8686
AtomicBool
8787
AtomicI16
8888
AtomicI32
89-
AtomicI8
89+
AtomicI64
9090
and $N others
9191
= help: see issue #48214
9292
= note: this error originates in the derive macro `KnownLayout` (in Nightly builds, run with -Z macro-backtrace for more info)
@@ -109,7 +109,7 @@ error[E0277]: the trait bound `NotKnownLayout: zerocopy::KnownLayout` is not sat
109109
AtomicBool
110110
AtomicI16
111111
AtomicI32
112-
AtomicI8
112+
AtomicI64
113113
and $N others
114114
= help: see issue #48214
115115
= note: this error originates in the derive macro `KnownLayout` (in Nightly builds, run with -Z macro-backtrace for more info)

0 commit comments

Comments
 (0)