2020-04-19 16:11:30 -05:00
|
|
|
error: you are deriving `serde::Deserialize` on a type that has methods using `unsafe`
|
|
|
|
--> $DIR/unsafe_derive_deserialize.rs:8:10
|
|
|
|
|
|
|
|
|
LL | #[derive(Deserialize)]
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= help: consider implementing `serde::Deserialize` manually. See https://serde.rs/impl-deserialize.html
|
2022-09-22 11:04:22 -05:00
|
|
|
= note: `-D clippy::unsafe-derive-deserialize` implied by `-D warnings`
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2020-04-19 16:11:30 -05:00
|
|
|
|
|
|
|
error: you are deriving `serde::Deserialize` on a type that has methods using `unsafe`
|
|
|
|
--> $DIR/unsafe_derive_deserialize.rs:16:10
|
|
|
|
|
|
|
|
|
LL | #[derive(Deserialize)]
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= help: consider implementing `serde::Deserialize` manually. See https://serde.rs/impl-deserialize.html
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2020-04-19 16:11:30 -05:00
|
|
|
|
|
|
|
error: you are deriving `serde::Deserialize` on a type that has methods using `unsafe`
|
|
|
|
--> $DIR/unsafe_derive_deserialize.rs:22:10
|
|
|
|
|
|
|
|
|
LL | #[derive(Deserialize)]
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= help: consider implementing `serde::Deserialize` manually. See https://serde.rs/impl-deserialize.html
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2020-04-19 16:11:30 -05:00
|
|
|
|
|
|
|
error: you are deriving `serde::Deserialize` on a type that has methods using `unsafe`
|
|
|
|
--> $DIR/unsafe_derive_deserialize.rs:30:10
|
|
|
|
|
|
|
|
|
LL | #[derive(Deserialize)]
|
|
|
|
| ^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
= help: consider implementing `serde::Deserialize` manually. See https://serde.rs/impl-deserialize.html
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2020-04-19 16:11:30 -05:00
|
|
|
|
|
|
|
error: aborting due to 4 previous errors
|
|
|
|
|