Debian Codegraph @

debian/missing-sources/zerocopy/tests/ui-nightly/diagnostic-not-implemented-try-from-bytes.stderr

raw
1 error[E0277]: the trait bound `NotZerocopy: TryFromBytes` is not satisfied
2 --> tests/ui-nightly/diagnostic-not-implemented-try-from-bytes.rs:16:28
3 |
4 16 | takes_try_from_bytes::<NotZerocopy>();
5 | ^^^^^^^^^^^ unsatisfied trait bound
6 |
7 help: the trait `TryFromBytes` is not implemented for `NotZerocopy`
8 --> tests/ui-nightly/../include.rs
9 |
10 | pub struct NotZerocopy<T = ()>(pub T);
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12 = note: Consider adding `#[derive(TryFromBytes)]` to `NotZerocopy`
13 = help: the following other types implement trait `TryFromBytes`:
14 ()
15 (A, B)
16 (A, B, C)
17 (A, B, C, D)
18 (A, B, C, D, E)
19 (A, B, C, D, E, F)
20 (A, B, C, D, E, F, G)
21 (A, B, C, D, E, F, G, H)
22 and $N others
23 note: required by a bound in `takes_try_from_bytes`
24 --> tests/ui-nightly/diagnostic-not-implemented-try-from-bytes.rs:19:28
25 |
26 19 | fn takes_try_from_bytes<T: TryFromBytes>() {}
27 | ^^^^^^^^^^^^ required by this bound in `takes_try_from_bytes`