serde/test_suite/tests/ui/transparent/ser_at_least_one.rs

11 lines
130 B
Rust
Raw Normal View History

2018-12-31 20:36:59 -06:00
use serde_derive::Serialize;
#[derive(Serialize)]
#[serde(transparent)]
struct S {
#[serde(skip)]
a: u8,
}
fn main() {}