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

10 lines
107 B
Rust
Raw Normal View History

2018-12-31 20:36:59 -06:00
use serde_derive::Deserialize;
#[derive(Deserialize)]
union Union {
x: u8,
y: (),
}
fn main() {}