| 1 |
error: this conflicts with another representation hint |
| 2 |
--> tests/ui-stable/struct.rs:167:11 |
| 3 |
| |
| 4 |
167 | #[repr(C, C)] // zerocopy-derive conservatively treats these as conflicting reprs |
| 5 |
| ^ |
| 6 |
|
| 7 |
error: must have a non-align #[repr(...)] attribute in order to guarantee this type's memory layout |
| 8 |
--> tests/ui-stable/struct.rs:172:10 |
| 9 |
| |
| 10 |
172 | #[derive(IntoBytes)] |
| 11 |
| ^^^^^^^^^ |
| 12 |
| |
| 13 |
= note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 14 |
|
| 15 |
error: must have a non-align #[repr(...)] attribute in order to guarantee this type's memory layout |
| 16 |
--> tests/ui-stable/struct.rs:177:10 |
| 17 |
| |
| 18 |
177 | #[derive(IntoBytes)] |
| 19 |
| ^^^^^^^^^ |
| 20 |
| |
| 21 |
= note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 22 |
|
| 23 |
error: must have a non-align #[repr(...)] attribute in order to guarantee this type's memory layout |
| 24 |
--> tests/ui-stable/struct.rs:200:10 |
| 25 |
| |
| 26 |
200 | #[derive(IntoBytes)] |
| 27 |
| ^^^^^^^^^ |
| 28 |
| |
| 29 |
= note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 30 |
|
| 31 |
error: cannot derive `Unaligned` on type with alignment greater than 1 |
| 32 |
--> tests/ui-stable/struct.rs:211:11 |
| 33 |
| |
| 34 |
211 | #[repr(C, align(2))] |
| 35 |
| ^^^^^ |
| 36 |
|
| 37 |
error: this conflicts with another representation hint |
| 38 |
--> tests/ui-stable/struct.rs:215:8 |
| 39 |
| |
| 40 |
215 | #[repr(transparent, align(2))] |
| 41 |
| ^^^^^^^^^^^ |
| 42 |
|
| 43 |
error: this conflicts with another representation hint |
| 44 |
--> tests/ui-stable/struct.rs:221:16 |
| 45 |
| |
| 46 |
221 | #[repr(packed, align(2))] |
| 47 |
| ^^^^^ |
| 48 |
|
| 49 |
error: this conflicts with another representation hint |
| 50 |
--> tests/ui-stable/struct.rs:225:18 |
| 51 |
| |
| 52 |
225 | #[repr(align(1), align(2))] |
| 53 |
| ^^^^^ |
| 54 |
|
| 55 |
error: this conflicts with another representation hint |
| 56 |
--> tests/ui-stable/struct.rs:229:18 |
| 57 |
| |
| 58 |
229 | #[repr(align(2), align(4))] |
| 59 |
| ^^^^^ |
| 60 |
|
| 61 |
error: must have #[repr(C)], #[repr(transparent)], or #[repr(packed)] attribute in order to guarantee this type's alignment |
| 62 |
--> tests/ui-stable/struct.rs:232:10 |
| 63 |
| |
| 64 |
232 | #[derive(Unaligned)] |
| 65 |
| ^^^^^^^^^ |
| 66 |
| |
| 67 |
= note: this error originates in the derive macro `Unaligned` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 68 |
|
| 69 |
error: must have #[repr(C)], #[repr(transparent)], or #[repr(packed)] attribute in order to guarantee this type's alignment |
| 70 |
--> tests/ui-stable/struct.rs:235:10 |
| 71 |
| |
| 72 |
235 | #[derive(Unaligned)] |
| 73 |
| ^^^^^^^^^ |
| 74 |
| |
| 75 |
= note: this error originates in the derive macro `Unaligned` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 76 |
|
| 77 |
error: this conflicts with another representation hint |
| 78 |
--> tests/ui-stable/struct.rs:245:8 |
| 79 |
| |
| 80 |
245 | #[repr(C, packed(2))] |
| 81 |
| ^ |
| 82 |
|
| 83 |
error[E0692]: transparent struct cannot have other repr hints |
| 84 |
--> tests/ui-stable/struct.rs:215:8 |
| 85 |
| |
| 86 |
215 | #[repr(transparent, align(2))] |
| 87 |
| ^^^^^^^^^^^ ^^^^^^^^ |
| 88 |
|
| 89 |
error[E0277]: the size for values of type `[u8]` cannot be known at compilation time |
| 90 |
--> tests/ui-stable/struct.rs:31:10 |
| 91 |
| |
| 92 |
31 | #[derive(KnownLayout)] |
| 93 |
| ^^^^^^^^^^^ doesn't have a size known at compile-time |
| 94 |
| |
| 95 |
= help: within `KL00`, the trait `Sized` is not implemented for `[u8]` |
| 96 |
note: required because it appears within the type `KL00` |
| 97 |
--> tests/ui-stable/struct.rs:32:8 |
| 98 |
| |
| 99 |
32 | struct KL00(u8, NotKnownLayoutDst); |
| 100 |
| ^^^^ |
| 101 |
= help: see issue #48214 |
| 102 |
= note: this error originates in the derive macro `KnownLayout` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 103 |
|
| 104 |
error[E0277]: the size for values of type `[u8]` cannot be known at compilation time |
| 105 |
--> tests/ui-stable/struct.rs:36:10 |
| 106 |
| |
| 107 |
36 | #[derive(KnownLayout)] |
| 108 |
| ^^^^^^^^^^^ doesn't have a size known at compile-time |
| 109 |
| |
| 110 |
= help: within `KL02`, the trait `Sized` is not implemented for `[u8]` |
| 111 |
note: required because it appears within the type `KL02` |
| 112 |
--> tests/ui-stable/struct.rs:37:8 |
| 113 |
| |
| 114 |
37 | struct KL02(u8, [u8]); |
| 115 |
| ^^^^ |
| 116 |
= help: see issue #48214 |
| 117 |
= note: this error originates in the derive macro `KnownLayout` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 118 |
|
| 119 |
error[E0277]: the trait bound `NotKnownLayoutDst: zerocopy::KnownLayout` is not satisfied |
| 120 |
--> tests/ui-stable/struct.rs:41:10 |
| 121 |
| |
| 122 |
41 | #[derive(KnownLayout)] |
| 123 |
| ^^^^^^^^^^^ the trait `zerocopy::KnownLayout` is not implemented for `NotKnownLayoutDst` |
| 124 |
| |
| 125 |
= note: Consider adding `#[derive(KnownLayout)]` to `NotKnownLayoutDst` |
| 126 |
= help: the following other types implement trait `zerocopy::KnownLayout`: |
| 127 |
&T |
| 128 |
&mut T |
| 129 |
() |
| 130 |
*const T |
| 131 |
*mut T |
| 132 |
AU16 |
| 133 |
AtomicBool |
| 134 |
AtomicI16 |
| 135 |
and $N others |
| 136 |
= help: see issue #48214 |
| 137 |
= note: this error originates in the derive macro `KnownLayout` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 138 |
|
| 139 |
error[E0277]: the trait bound `NotKnownLayout: zerocopy::KnownLayout` is not satisfied |
| 140 |
--> tests/ui-stable/struct.rs:47:10 |
| 141 |
| |
| 142 |
47 | #[derive(KnownLayout)] |
| 143 |
| ^^^^^^^^^^^ the trait `zerocopy::KnownLayout` is not implemented for `NotKnownLayout` |
| 144 |
| |
| 145 |
= note: Consider adding `#[derive(KnownLayout)]` to `NotKnownLayout` |
| 146 |
= help: the following other types implement trait `zerocopy::KnownLayout`: |
| 147 |
&T |
| 148 |
&mut T |
| 149 |
() |
| 150 |
*const T |
| 151 |
*mut T |
| 152 |
AU16 |
| 153 |
AtomicBool |
| 154 |
AtomicI16 |
| 155 |
and $N others |
| 156 |
= help: see issue #48214 |
| 157 |
= note: this error originates in the derive macro `KnownLayout` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 158 |
|
| 159 |
error[E0277]: the trait bound `UnsafeCell<()>: zerocopy::Immutable` is not satisfied |
| 160 |
--> tests/ui-stable/struct.rs:55:10 |
| 161 |
| |
| 162 |
55 | #[derive(Immutable)] |
| 163 |
| ^^^^^^^^^ the trait `zerocopy::Immutable` is not implemented for `UnsafeCell<()>` |
| 164 |
| |
| 165 |
= note: Consider adding `#[derive(Immutable)]` to `UnsafeCell<()>` |
| 166 |
= help: the following other types implement trait `zerocopy::Immutable`: |
| 167 |
&T |
| 168 |
&mut T |
| 169 |
() |
| 170 |
*const T |
| 171 |
*mut T |
| 172 |
AU16 |
| 173 |
F32<O> |
| 174 |
F64<O> |
| 175 |
and $N others |
| 176 |
= help: see issue #48214 |
| 177 |
= note: this error originates in the derive macro `Immutable` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 178 |
|
| 179 |
error[E0277]: the trait bound `UnsafeCell<u8>: zerocopy::Immutable` is not satisfied |
| 180 |
--> tests/ui-stable/struct.rs:60:10 |
| 181 |
| |
| 182 |
60 | #[derive(Immutable)] |
| 183 |
| ^^^^^^^^^ the trait `zerocopy::Immutable` is not implemented for `UnsafeCell<u8>` |
| 184 |
| |
| 185 |
= note: Consider adding `#[derive(Immutable)]` to `UnsafeCell<u8>` |
| 186 |
= help: the following other types implement trait `zerocopy::Immutable`: |
| 187 |
&T |
| 188 |
&mut T |
| 189 |
() |
| 190 |
*const T |
| 191 |
*mut T |
| 192 |
AU16 |
| 193 |
F32<O> |
| 194 |
F64<O> |
| 195 |
and $N others |
| 196 |
= note: required for `[UnsafeCell<u8>; 0]` to implement `zerocopy::Immutable` |
| 197 |
= help: see issue #48214 |
| 198 |
= note: this error originates in the derive macro `Immutable` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 199 |
|
| 200 |
error[E0588]: packed type cannot transitively contain a `#[repr(align)]` type |
| 201 |
--> tests/ui-stable/struct.rs:71:1 |
| 202 |
| |
| 203 |
71 | struct TryFromBytesPacked { |
| 204 |
| ^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 205 |
| |
| 206 |
note: `AU16` has a `#[repr(align)]` attribute |
| 207 |
--> tests/ui-stable/../include.rs |
| 208 |
| |
| 209 |
| pub struct AU16(pub u16); |
| 210 |
| ^^^^^^^^^^^^^^^ |
| 211 |
|
| 212 |
error[E0588]: packed type cannot transitively contain a `#[repr(align)]` type |
| 213 |
--> tests/ui-stable/struct.rs:77:1 |
| 214 |
| |
| 215 |
77 | struct TryFromBytesPackedN { |
| 216 |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 217 |
| |
| 218 |
note: `AU16` has a `#[repr(align)]` attribute |
| 219 |
--> tests/ui-stable/../include.rs |
| 220 |
| |
| 221 |
| pub struct AU16(pub u16); |
| 222 |
| ^^^^^^^^^^^^^^^ |
| 223 |
|
| 224 |
error[E0588]: packed type cannot transitively contain a `#[repr(align)]` type |
| 225 |
--> tests/ui-stable/struct.rs:83:1 |
| 226 |
| |
| 227 |
83 | struct TryFromBytesCPacked { |
| 228 |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 229 |
| |
| 230 |
note: `AU16` has a `#[repr(align)]` attribute |
| 231 |
--> tests/ui-stable/../include.rs |
| 232 |
| |
| 233 |
| pub struct AU16(pub u16); |
| 234 |
| ^^^^^^^^^^^^^^^ |
| 235 |
|
| 236 |
error[E0588]: packed type cannot transitively contain a `#[repr(align)]` type |
| 237 |
--> tests/ui-stable/struct.rs:89:1 |
| 238 |
| |
| 239 |
89 | struct TryFromBytesCPackedN { |
| 240 |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
| 241 |
| |
| 242 |
note: `AU16` has a `#[repr(align)]` attribute |
| 243 |
--> tests/ui-stable/../include.rs |
| 244 |
| |
| 245 |
| pub struct AU16(pub u16); |
| 246 |
| ^^^^^^^^^^^^^^^ |
| 247 |
|
| 248 |
error[E0277]: the trait bound `AU16: zerocopy::Unaligned` is not satisfied |
| 249 |
--> tests/ui-stable/struct.rs:100:10 |
| 250 |
| |
| 251 |
100 | #[derive(IntoBytes)] |
| 252 |
| ^^^^^^^^^ the trait `zerocopy::Unaligned` is not implemented for `AU16` |
| 253 |
| |
| 254 |
= note: Consider adding `#[derive(Unaligned)]` to `AU16` |
| 255 |
= help: the following other types implement trait `zerocopy::Unaligned`: |
| 256 |
() |
| 257 |
AtomicBool |
| 258 |
AtomicI8 |
| 259 |
AtomicU8 |
| 260 |
Cell<T> |
| 261 |
F32<O> |
| 262 |
F64<O> |
| 263 |
I128<O> |
| 264 |
and $N others |
| 265 |
= help: see issue #48214 |
| 266 |
= note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 267 |
|
| 268 |
error[E0277]: `IntoBytes2` has 1 total byte(s) of padding |
| 269 |
--> tests/ui-stable/struct.rs:107:10 |
| 270 |
| |
| 271 |
107 | #[derive(IntoBytes)] |
| 272 |
| ^^^^^^^^^ types with padding cannot implement `IntoBytes` |
| 273 |
| |
| 274 |
= note: consider using `zerocopy::Unalign` to lower the alignment of individual fields |
| 275 |
= note: consider adding explicit fields where padding would be |
| 276 |
= note: consider using `#[repr(packed)]` to remove padding |
| 277 |
= help: the trait `PaddingFree<IntoBytes2, 1>` is not implemented for `()` |
| 278 |
but trait `PaddingFree<IntoBytes2, 0>` is implemented for it |
| 279 |
= help: see issue #48214 |
| 280 |
= note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 281 |
|
| 282 |
error[E0277]: `IntoBytes3` has 1 total byte(s) of padding |
| 283 |
--> tests/ui-stable/struct.rs:114:10 |
| 284 |
| |
| 285 |
114 | #[derive(IntoBytes)] |
| 286 |
| ^^^^^^^^^ types with padding cannot implement `IntoBytes` |
| 287 |
| |
| 288 |
= note: consider using `zerocopy::Unalign` to lower the alignment of individual fields |
| 289 |
= note: consider adding explicit fields where padding would be |
| 290 |
= note: consider using `#[repr(packed)]` to remove padding |
| 291 |
= help: the trait `PaddingFree<IntoBytes3, 1>` is not implemented for `()` |
| 292 |
but trait `PaddingFree<IntoBytes3, 0>` is implemented for it |
| 293 |
= help: see issue #48214 |
| 294 |
= note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 295 |
|
| 296 |
error[E0277]: the size for values of type `[u8]` cannot be known at compilation time |
| 297 |
--> tests/ui-stable/struct.rs:130:10 |
| 298 |
| |
| 299 |
130 | #[derive(IntoBytes)] |
| 300 |
| ^^^^^^^^^ doesn't have a size known at compile-time |
| 301 |
| |
| 302 |
= help: within `IntoBytes4`, the trait `Sized` is not implemented for `[u8]` |
| 303 |
note: required because it appears within the type `IntoBytes4` |
| 304 |
--> tests/ui-stable/struct.rs:132:8 |
| 305 |
| |
| 306 |
132 | struct IntoBytes4 { |
| 307 |
| ^^^^^^^^^^ |
| 308 |
= note: required for `IntoBytes4` to implement `macro_util::__size_of::Sized` |
| 309 |
note: required by a bound in `macro_util::__size_of::size_of` |
| 310 |
--> $WORKSPACE/src/util/macro_util.rs |
| 311 |
| |
| 312 |
| pub const fn size_of<T: Sized + ?core::marker::Sized>() -> usize { |
| 313 |
| ^^^^^ required by this bound in `size_of` |
| 314 |
= note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 315 |
|
| 316 |
error[E0277]: `[u8]` is unsized |
| 317 |
--> tests/ui-stable/struct.rs:134:8 |
| 318 |
| |
| 319 |
134 | b: SliceU8, |
| 320 |
| ^^^^^^^ `IntoBytes` needs all field types to be `Sized` in order to determine whether there is padding |
| 321 |
| |
| 322 |
= help: the trait `Sized` is not implemented for `[u8]` |
| 323 |
= note: consider using `#[repr(packed)]` to remove padding |
| 324 |
= note: `IntoBytes` does not require the fields of `#[repr(packed)]` types to be `Sized` |
| 325 |
= note: required for `[u8]` to implement `macro_util::__size_of::Sized` |
| 326 |
note: required by a bound in `macro_util::__size_of::size_of` |
| 327 |
--> $WORKSPACE/src/util/macro_util.rs |
| 328 |
| |
| 329 |
| pub const fn size_of<T: Sized + ?core::marker::Sized>() -> usize { |
| 330 |
| ^^^^^ required by this bound in `size_of` |
| 331 |
|
| 332 |
error[E0277]: `IntoBytes5` has one or more padding bytes |
| 333 |
--> tests/ui-stable/struct.rs:139:10 |
| 334 |
| |
| 335 |
139 | #[derive(IntoBytes)] |
| 336 |
| ^^^^^^^^^ types with padding cannot implement `IntoBytes` |
| 337 |
| |
| 338 |
= note: consider using `zerocopy::Unalign` to lower the alignment of individual fields |
| 339 |
= note: consider adding explicit fields where padding would be |
| 340 |
= note: consider using `#[repr(packed)]` to remove padding |
| 341 |
= help: the trait `DynamicPaddingFree<IntoBytes5, true>` is not implemented for `()` |
| 342 |
but trait `DynamicPaddingFree<IntoBytes5, false>` is implemented for it |
| 343 |
= help: see issue #48214 |
| 344 |
= note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 345 |
|
| 346 |
error[E0277]: `IntoBytes6` has one or more padding bytes |
| 347 |
--> tests/ui-stable/struct.rs:148:10 |
| 348 |
| |
| 349 |
148 | #[derive(IntoBytes)] |
| 350 |
| ^^^^^^^^^ types with padding cannot implement `IntoBytes` |
| 351 |
| |
| 352 |
= note: consider using `zerocopy::Unalign` to lower the alignment of individual fields |
| 353 |
= note: consider adding explicit fields where padding would be |
| 354 |
= note: consider using `#[repr(packed)]` to remove padding |
| 355 |
= help: the trait `DynamicPaddingFree<IntoBytes6, true>` is not implemented for `()` |
| 356 |
but trait `DynamicPaddingFree<IntoBytes6, false>` is implemented for it |
| 357 |
= help: see issue #48214 |
| 358 |
= note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 359 |
|
| 360 |
error[E0277]: `IntoBytes7` has one or more padding bytes |
| 361 |
--> tests/ui-stable/struct.rs:158:10 |
| 362 |
| |
| 363 |
158 | #[derive(IntoBytes)] |
| 364 |
| ^^^^^^^^^ types with padding cannot implement `IntoBytes` |
| 365 |
| |
| 366 |
= note: consider using `zerocopy::Unalign` to lower the alignment of individual fields |
| 367 |
= note: consider adding explicit fields where padding would be |
| 368 |
= note: consider using `#[repr(packed)]` to remove padding |
| 369 |
= help: the trait `DynamicPaddingFree<IntoBytes7, true>` is not implemented for `()` |
| 370 |
but trait `DynamicPaddingFree<IntoBytes7, false>` is implemented for it |
| 371 |
= help: see issue #48214 |
| 372 |
= note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 373 |
|
| 374 |
error[E0587]: type has conflicting packed and align representation hints |
| 375 |
--> tests/ui-stable/struct.rs:222:1 |
| 376 |
| |
| 377 |
222 | struct Unaligned3; |
| 378 |
| ^^^^^^^^^^^^^^^^^ |
| 379 |
|
| 380 |
error[E0277]: the trait bound `SplitAtNotKnownLayout: zerocopy::KnownLayout` is not satisfied |
| 381 |
--> tests/ui-stable/struct.rs:248:10 |
| 382 |
| |
| 383 |
248 | #[derive(SplitAt)] |
| 384 |
| ^^^^^^^ the trait `zerocopy::KnownLayout` is not implemented for `SplitAtNotKnownLayout` |
| 385 |
| |
| 386 |
= note: Consider adding `#[derive(KnownLayout)]` to `SplitAtNotKnownLayout` |
| 387 |
= help: the following other types implement trait `zerocopy::KnownLayout`: |
| 388 |
&T |
| 389 |
&mut T |
| 390 |
() |
| 391 |
*const T |
| 392 |
*mut T |
| 393 |
AU16 |
| 394 |
AtomicBool |
| 395 |
AtomicI16 |
| 396 |
and $N others |
| 397 |
note: required by a bound in `SplitAt` |
| 398 |
--> $WORKSPACE/src/split_at.rs |
| 399 |
| |
| 400 |
| pub unsafe trait SplitAt: KnownLayout<PointerMetadata = usize> { |
| 401 |
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `SplitAt` |
| 402 |
= note: this error originates in the derive macro `SplitAt` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 403 |
|
| 404 |
error[E0277]: the trait bound `u8: SplitAt` is not satisfied |
| 405 |
--> tests/ui-stable/struct.rs:252:10 |
| 406 |
| |
| 407 |
252 | #[derive(SplitAt, KnownLayout)] |
| 408 |
| ^^^^^^^ the trait `SplitAt` is not implemented for `u8` |
| 409 |
| |
| 410 |
= note: Consider adding `#[derive(SplitAt)]` to `u8` |
| 411 |
= help: the following other types implement trait `SplitAt`: |
| 412 |
SplitAtNotKnownLayout |
| 413 |
SplitAtSized |
| 414 |
[T] |
| 415 |
= help: see issue #48214 |
| 416 |
= note: this error originates in the derive macro `SplitAt` (in Nightly builds, run with -Z macro-backtrace for more info) |
| 417 |
|
| 418 |
error[E0277]: the trait bound `AU16: zerocopy::Unaligned` is not satisfied |
| 419 |
--> tests/ui-stable/struct.rs:195:28 |
| 420 |
| |
| 421 |
195 | is_into_bytes_11::<IntoBytes11<AU16>>(); |
| 422 |
| ^^^^^^^^^^^^^^^^^ the trait `zerocopy::Unaligned` is not implemented for `AU16` |
| 423 |
| |
| 424 |
= note: Consider adding `#[derive(Unaligned)]` to `AU16` |
| 425 |
= help: the following other types implement trait `zerocopy::Unaligned`: |
| 426 |
() |
| 427 |
AtomicBool |
| 428 |
AtomicI8 |
| 429 |
AtomicU8 |
| 430 |
Cell<T> |
| 431 |
F32<O> |
| 432 |
F64<O> |
| 433 |
I128<O> |
| 434 |
and $N others |
| 435 |
note: required for `IntoBytes11<AU16>` to implement `zerocopy::IntoBytes` |
| 436 |
--> tests/ui-stable/struct.rs:184:10 |
| 437 |
| |
| 438 |
184 | #[derive(IntoBytes)] |
| 439 |
| ^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro |
| 440 |
note: required by a bound in `is_into_bytes_11` |
| 441 |
--> tests/ui-stable/struct.rs:193:24 |
| 442 |
| |
| 443 |
193 | fn is_into_bytes_11<T: IntoBytes>() { |
| 444 |
| ^^^^^^^^^ required by this bound in `is_into_bytes_11` |
| 445 |
= note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info) |