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

11 lines
122 B
Rust
Raw Normal View History

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