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

13 lines
167 B
Rust

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