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

10 lines
125 B
Rust

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