12 lines
551 B
Plaintext
12 lines
551 B
Plaintext
error[E0277]: the trait bound `NotZerocopy: zerocopy::Unaligned` is not satisfied
|
|
--> tests/ui-msrv/diagnostic-not-implemented-unaligned.rs:18:23
|
|
|
|
|
18 | takes_unaligned::<NotZerocopy>();
|
|
| ^^^^^^^^^^^ the trait `zerocopy::Unaligned` is not implemented for `NotZerocopy`
|
|
|
|
|
note: required by a bound in `takes_unaligned`
|
|
--> tests/ui-msrv/diagnostic-not-implemented-unaligned.rs:21:23
|
|
|
|
|
21 | fn takes_unaligned<T: Unaligned>() {}
|
|
| ^^^^^^^^^ required by this bound in `takes_unaligned`
|