serde/test_suite/tests/ui/transparent/ser_at_least_one.rs
2018-12-31 21:38:13 -05:00

11 lines
130 B
Rust

use serde_derive::Serialize;
#[derive(Serialize)]
#[serde(transparent)]
struct S {
#[serde(skip)]
a: u8,
}
fn main() {}