serde/test_suite/tests/ui/transparent/with_into.stderr

9 lines
195 B
Plaintext
Raw Normal View History

error: #[serde(transparent)] is not allowed with #[serde(into = "...")]
2018-12-31 20:36:59 -06:00
--> $DIR/with_into.rs:4:1
|
2018-12-31 20:36:59 -06:00
4 | / #[serde(transparent, into = "u64")]
5 | | struct S {
6 | | a: u8,
7 | | }
| |_^