serde/test_suite/tests/ui/transparent/with_into.stderr
2023-06-07 20:02:04 -07:00

13 lines
425 B
Plaintext

error: #[serde(transparent)] is not allowed with #[serde(into = "...")]
--> tests/ui/transparent/with_into.rs:4:1
|
3 | #[derive(Serialize)]
| --------- in this derive macro expansion
4 | / #[serde(transparent, into = "u64")]
5 | | struct S {
6 | | a: u8,
7 | | }
| |_^
|
= note: this error originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info)