serde/test_suite/tests/ui/unsupported/union_ser.stderr

13 lines
385 B
Plaintext
Raw Normal View History

error: Serde does not support derive for unions
2021-10-08 02:46:15 -04:00
--> tests/ui/unsupported/union_ser.rs:4:1
|
3 | #[derive(Deserialize)]
| ----------- in this derive macro expansion
2018-12-31 21:36:59 -05:00
4 | / union Union {
5 | | x: u8,
6 | | y: (),
7 | | }
| |_^
|
= note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)