| 1 |
warning: unused import: `zerocopy::KnownLayout` |
| 2 |
--> tests/ui-stable/late_compile_pass.rs:15:5 |
| 3 |
| |
| 4 |
15 | use zerocopy::KnownLayout; |
| 5 |
| ^^^^^^^^^^^^^^^^^^^^^ |
| 6 |
| |
| 7 |
= note: `#[warn(unused_imports)]` on by default |
| 8 |
|
| 9 |
error[E0277]: the trait bound `NotZerocopy: zerocopy::TryFromBytes` is not satisfied |
| 10 |
--> tests/ui-stable/late_compile_pass.rs:29:10 |
| 11 |
| |
| 12 |
29 | #[derive(TryFromBytes)] |
| 13 |
| ^^^^^^^^^^^^ the trait `zerocopy::TryFromBytes` is not implemented for `NotZerocopy` |
| 14 |
| |
| 15 |
= note: Consider adding `#[derive(TryFromBytes)]` to `NotZerocopy` |
| 16 |
= help: the following other types implement trait `zerocopy::TryFromBytes`: |
| 17 |
() |
| 18 |
*const T |
| 19 |
*mut T |
| 20 |
AU16 |
| 21 |
AtomicBool |
| 22 |
AtomicI16 |
| 23 |
AtomicI32 |
| 24 |
AtomicI64 |
| 25 |
and $N others |
| 26 |
= help: see issue #48214 |
| 27 |
= note: this error originates in the derive macro `TryFromBytes` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 28 |
|
| 29 |
error[E0277]: the trait bound `NotZerocopy: zerocopy::TryFromBytes` is not satisfied |
| 30 |
--> tests/ui-stable/late_compile_pass.rs:38:10 |
| 31 |
| |
| 32 |
38 | #[derive(FromZeros)] |
| 33 |
| ^^^^^^^^^ the trait `zerocopy::TryFromBytes` is not implemented for `NotZerocopy` |
| 34 |
| |
| 35 |
= note: Consider adding `#[derive(TryFromBytes)]` to `NotZerocopy` |
| 36 |
= help: the following other types implement trait `zerocopy::TryFromBytes`: |
| 37 |
() |
| 38 |
*const T |
| 39 |
*mut T |
| 40 |
AU16 |
| 41 |
AtomicBool |
| 42 |
AtomicI16 |
| 43 |
AtomicI32 |
| 44 |
AtomicI64 |
| 45 |
and $N others |
| 46 |
= help: see issue #48214 |
| 47 |
= note: this error originates in the derive macro `FromZeros` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 48 |
|
| 49 |
error[E0277]: the trait bound `NotZerocopy: FromZeros` is not satisfied |
| 50 |
--> tests/ui-stable/late_compile_pass.rs:38:10 |
| 51 |
| |
| 52 |
38 | #[derive(FromZeros)] |
| 53 |
| ^^^^^^^^^ the trait `FromZeros` is not implemented for `NotZerocopy` |
| 54 |
| |
| 55 |
= note: Consider adding `#[derive(FromZeros)]` to `NotZerocopy` |
| 56 |
= help: the following other types implement trait `FromZeros`: |
| 57 |
() |
| 58 |
*const T |
| 59 |
*mut T |
| 60 |
AU16 |
| 61 |
AtomicBool |
| 62 |
AtomicI16 |
| 63 |
AtomicI32 |
| 64 |
AtomicI64 |
| 65 |
and $N others |
| 66 |
= help: see issue #48214 |
| 67 |
= note: this error originates in the derive macro `FromZeros` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 68 |
|
| 69 |
error[E0277]: the trait bound `NotZerocopy: zerocopy::TryFromBytes` is not satisfied |
| 70 |
--> tests/ui-stable/late_compile_pass.rs:47:10 |
| 71 |
| |
| 72 |
47 | #[derive(FromBytes)] |
| 73 |
| ^^^^^^^^^ the trait `zerocopy::TryFromBytes` is not implemented for `NotZerocopy` |
| 74 |
| |
| 75 |
= note: Consider adding `#[derive(TryFromBytes)]` to `NotZerocopy` |
| 76 |
= help: the following other types implement trait `zerocopy::TryFromBytes`: |
| 77 |
() |
| 78 |
*const T |
| 79 |
*mut T |
| 80 |
AU16 |
| 81 |
AtomicBool |
| 82 |
AtomicI16 |
| 83 |
AtomicI32 |
| 84 |
AtomicI64 |
| 85 |
and $N others |
| 86 |
= help: see issue #48214 |
| 87 |
= note: this error originates in the derive macro `FromBytes` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 88 |
|
| 89 |
error[E0277]: the trait bound `NotZerocopy: FromZeros` is not satisfied |
| 90 |
--> tests/ui-stable/late_compile_pass.rs:47:10 |
| 91 |
| |
| 92 |
47 | #[derive(FromBytes)] |
| 93 |
| ^^^^^^^^^ the trait `FromZeros` is not implemented for `NotZerocopy` |
| 94 |
| |
| 95 |
= note: Consider adding `#[derive(FromZeros)]` to `NotZerocopy` |
| 96 |
= help: the following other types implement trait `FromZeros`: |
| 97 |
() |
| 98 |
*const T |
| 99 |
*mut T |
| 100 |
AU16 |
| 101 |
AtomicBool |
| 102 |
AtomicI16 |
| 103 |
AtomicI32 |
| 104 |
AtomicI64 |
| 105 |
and $N others |
| 106 |
= help: see issue #48214 |
| 107 |
= note: this error originates in the derive macro `FromBytes` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 108 |
|
| 109 |
error[E0277]: the trait bound `NotZerocopy: zerocopy::FromBytes` is not satisfied |
| 110 |
--> tests/ui-stable/late_compile_pass.rs:47:10 |
| 111 |
| |
| 112 |
47 | #[derive(FromBytes)] |
| 113 |
| ^^^^^^^^^ the trait `zerocopy::FromBytes` is not implemented for `NotZerocopy` |
| 114 |
| |
| 115 |
= note: Consider adding `#[derive(FromBytes)]` to `NotZerocopy` |
| 116 |
= help: the following other types implement trait `zerocopy::FromBytes`: |
| 117 |
() |
| 118 |
AU16 |
| 119 |
AtomicI16 |
| 120 |
AtomicI32 |
| 121 |
AtomicI64 |
| 122 |
AtomicI8 |
| 123 |
AtomicIsize |
| 124 |
AtomicU16 |
| 125 |
and $N others |
| 126 |
= help: see issue #48214 |
| 127 |
= note: this error originates in the derive macro `FromBytes` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 128 |
|
| 129 |
error[E0277]: the trait bound `NotZerocopy: zerocopy::IntoBytes` is not satisfied |
| 130 |
--> tests/ui-stable/late_compile_pass.rs:56:10 |
| 131 |
| |
| 132 |
56 | #[derive(IntoBytes)] |
| 133 |
| ^^^^^^^^^ the trait `zerocopy::IntoBytes` is not implemented for `NotZerocopy` |
| 134 |
| |
| 135 |
= note: Consider adding `#[derive(IntoBytes)]` to `NotZerocopy` |
| 136 |
= help: the following other types implement trait `zerocopy::IntoBytes`: |
| 137 |
() |
| 138 |
AU16 |
| 139 |
AtomicBool |
| 140 |
AtomicI16 |
| 141 |
AtomicI32 |
| 142 |
AtomicI64 |
| 143 |
AtomicI8 |
| 144 |
AtomicIsize |
| 145 |
and $N others |
| 146 |
= help: see issue #48214 |
| 147 |
= note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 148 |
|
| 149 |
error[E0277]: the trait bound `AU16: zerocopy::Unaligned` is not satisfied |
| 150 |
--> tests/ui-stable/late_compile_pass.rs:66:10 |
| 151 |
| |
| 152 |
66 | #[derive(Unaligned)] |
| 153 |
| ^^^^^^^^^ the trait `zerocopy::Unaligned` is not implemented for `AU16` |
| 154 |
| |
| 155 |
= note: Consider adding `#[derive(Unaligned)]` to `AU16` |
| 156 |
= help: the following other types implement trait `zerocopy::Unaligned`: |
| 157 |
() |
| 158 |
AtomicBool |
| 159 |
AtomicI8 |
| 160 |
AtomicU8 |
| 161 |
Cell<T> |
| 162 |
F32<O> |
| 163 |
F64<O> |
| 164 |
I128<O> |
| 165 |
and $N others |
| 166 |
= help: see issue #48214 |
| 167 |
= note: this error originates in the derive macro `Unaligned` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 168 |
|
| 169 |
error[E0277]: the trait bound `AU16: zerocopy::Unaligned` is not satisfied |
| 170 |
--> tests/ui-stable/late_compile_pass.rs:74:10 |
| 171 |
| |
| 172 |
74 | #[derive(Unaligned)] |
| 173 |
| ^^^^^^^^^ the trait `zerocopy::Unaligned` is not implemented for `AU16` |
| 174 |
| |
| 175 |
= note: Consider adding `#[derive(Unaligned)]` to `AU16` |
| 176 |
= help: the following other types implement trait `zerocopy::Unaligned`: |
| 177 |
() |
| 178 |
AtomicBool |
| 179 |
AtomicI8 |
| 180 |
AtomicU8 |
| 181 |
Cell<T> |
| 182 |
F32<O> |
| 183 |
F64<O> |
| 184 |
I128<O> |
| 185 |
and $N others |
| 186 |
= help: see issue #48214 |
| 187 |
= note: this error originates in the derive macro `Unaligned` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 188 |
|
| 189 |
error[E0277]: the trait bound `AU16: zerocopy::Unaligned` is not satisfied |
| 190 |
--> tests/ui-stable/late_compile_pass.rs:81:10 |
| 191 |
| |
| 192 |
81 | #[derive(Unaligned)] |
| 193 |
| ^^^^^^^^^ the trait `zerocopy::Unaligned` is not implemented for `AU16` |
| 194 |
| |
| 195 |
= note: Consider adding `#[derive(Unaligned)]` to `AU16` |
| 196 |
= help: the following other types implement trait `zerocopy::Unaligned`: |
| 197 |
() |
| 198 |
AtomicBool |
| 199 |
AtomicI8 |
| 200 |
AtomicU8 |
| 201 |
Cell<T> |
| 202 |
F32<O> |
| 203 |
F64<O> |
| 204 |
I128<O> |
| 205 |
and $N others |
| 206 |
= help: see issue #48214 |
| 207 |
= note: this error originates in the derive macro `Unaligned` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 208 |
|
| 209 |
error[E0277]: the trait bound `NotZerocopy: zerocopy::FromBytes` is not satisfied |
| 210 |
--> tests/ui-stable/late_compile_pass.rs:47:10 |
| 211 |
| |
| 212 |
47 | #[derive(FromBytes)] |
| 213 |
| ^^^^^^^^^ the trait `zerocopy::FromBytes` is not implemented for `NotZerocopy` |
| 214 |
| |
| 215 |
= note: Consider adding `#[derive(FromBytes)]` to `NotZerocopy` |
| 216 |
= help: the following other types implement trait `zerocopy::FromBytes`: |
| 217 |
() |
| 218 |
AU16 |
| 219 |
AtomicI16 |
| 220 |
AtomicI32 |
| 221 |
AtomicI64 |
| 222 |
AtomicI8 |
| 223 |
AtomicIsize |
| 224 |
AtomicU16 |
| 225 |
and $N others |
| 226 |
note: required for `FromBytes1` to implement `zerocopy::FromBytes` |
| 227 |
--> tests/ui-stable/late_compile_pass.rs:47:10 |
| 228 |
| |
| 229 |
47 | #[derive(FromBytes)] |
| 230 |
| ^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro |
| 231 |
note: required by a bound in `<FromBytes1 as zerocopy::TryFromBytes>::is_bit_valid::assert_is_from_bytes` |
| 232 |
--> tests/ui-stable/late_compile_pass.rs:47:10 |
| 233 |
| |
| 234 |
47 | #[derive(FromBytes)] |
| 235 |
| ^^^^^^^^^ required by this bound in `assert_is_from_bytes` |
| 236 |
= note: this error originates in the derive macro `FromBytes` (in Nightly builds, run with -Z macro-backtrace for more info) |