serde/test_suite/tests/ui/conflict/from-try-from.stderr
2021-10-08 02:46:15 -04:00

9 lines
231 B
Plaintext

error: #[serde(from = "...")] and #[serde(try_from = "...")] conflict with each other
--> tests/ui/conflict/from-try-from.rs:4:1
|
4 | / #[serde(from = "u64", try_from = "u64")]
5 | | struct S {
6 | | a: u8,
7 | | }
| |_^