Debian Codegraph @

.cargo/vendor/zerocopy/tests/ui-stable/diagnostic-not-implemented-into-bytes.stderr

raw
1 error[E0277]: the trait bound `NotZerocopy: zerocopy::IntoBytes` is not satisfied
2 --> tests/ui-stable/diagnostic-not-implemented-into-bytes.rs:18:24
3 |
4 18 | 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
18 note: required by a bound in `takes_into_bytes`
19 --> tests/ui-stable/diagnostic-not-implemented-into-bytes.rs:21:24
20 |
21 21 | fn takes_into_bytes<T: IntoBytes>() {}
22 | ^^^^^^^^^ required by this bound in `takes_into_bytes`