1error[E0277]: the trait bound `NotZerocopy: zerocopy::IntoBytes` is not satisfied 2 --> tests/ui-nightly/diagnostic-not-implemented-into-bytes.rs:18:24 3 | 418 | takes_into_bytes::<NotZerocopy>(); 5 | ^^^^^^^^^^^ the trait `zerocopy::IntoBytes` is not implemented for `NotZerocopy` 6 | 7 = note: Consider adding `#[derive(IntoBytes)]` to `NotZerocopy` 8 = help: the following other types implement trait `zerocopy::IntoBytes`: 9 () 10 AU16 11 AtomicBool 12 AtomicI16 13 AtomicI32 14 AtomicI64 15 AtomicI8 16 AtomicIsize 17 and $N others 18note: required by a bound in `takes_into_bytes` 19 --> tests/ui-nightly/diagnostic-not-implemented-into-bytes.rs:21:24 20 | 2121 | fn takes_into_bytes<T: IntoBytes>() {} 22 | ^^^^^^^^^ required by this bound in `takes_into_bytes` 23