Debian Codegraph @

.cargo/vendor/zerocopy/tests/ui-msrv/diagnostic-not-implemented-issue-1296.stderr

raw
1 error[E0277]: the trait bound `NotZerocopy: zerocopy::Immutable` is not satisfied
2 --> tests/ui-msrv/diagnostic-not-implemented-issue-1296.rs:52:19
3 |
4 52 | Foo.write_obj(NotZerocopy(()));
5 | ^^^^^^^^^^^^^^^ the trait `zerocopy::Immutable` is not implemented for `NotZerocopy`
6
7 error[E0277]: the trait bound `NotZerocopy: zerocopy::IntoBytes` is not satisfied
8 --> tests/ui-msrv/diagnostic-not-implemented-issue-1296.rs:52:19
9 |
10 52 | Foo.write_obj(NotZerocopy(()));
11 | ^^^^^^^^^^^^^^^ the trait `zerocopy::IntoBytes` is not implemented for `NotZerocopy`