note: the lint level is defined here
--> src/lib.rs:1:9
|
1 | #![deny(safe_packed_borrows)]
| ^^^^^^^^^^^^^^^^^^^
= warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
= note: for more information, see issue #82523 https://github.com/rust-lang/rust/issues/82523
= note: this error originates in the derive macro Debug (in Nightly builds, run with -Z macro-backtrace for more info)
warning: serum_dex (lib) generated 5 warnings
error: could not compile serum_dex due to previous error; 5 warnings emitted
#[derive]
can't be used on a#[repr(packed)]
struct that does not derive Copy (error E0133) --> src/state.rs:65:45note: the lint level is defined here --> src/lib.rs:1:9 | 1 | #![deny(safe_packed_borrows)] | ^^^^^^^^^^^^^^^^^^^ = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #82523 https://github.com/rust-lang/rust/issues/82523 = note: this error originates in the derive macro
Debug
(in Nightly builds, run with -Z macro-backtrace for more info)warning:
serum_dex
(lib) generated 5 warnings error: could not compileserum_dex
due to previous error; 5 warnings emitted