32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
error: `on_error` is experimental; pass '--cfg zerocopy_unstable_derive_on_error' to enable
|
|
--> $DIR/on_error.rs:13:10
|
|
|
|
|
13 | #[derive(FromBytes)]
|
|
| ^^^^^^^^^
|
|
|
|
|
= note: this error originates in the derive macro `FromBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error[E0277]: the trait bound `bool: FromBytes` is not satisfied
|
|
--> $DIR/on_error.rs:13:10
|
|
|
|
|
13 | #[derive(FromBytes)]
|
|
| ^^^^^^^^^ the trait `FromBytes` is not implemented for `bool`
|
|
|
|
|
= note: Consider adding `#[derive(FromBytes)]` to `bool`
|
|
= help: the following other types implement trait `FromBytes`:
|
|
()
|
|
(A, B)
|
|
(A, B, C)
|
|
(A, B, C, D)
|
|
(A, B, C, D, E)
|
|
(A, B, C, D, E, F)
|
|
(A, B, C, D, E, F, G)
|
|
(A, B, C, D, E, F, G, H)
|
|
and 79 others
|
|
= help: see issue #48214
|
|
= note: this error originates in the derive macro `FromBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
For more information about this error, try `rustc --explain E0277`.
|