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