12 lines
157 B
Rust
Raw Normal View History

2018-12-31 21:36:59 -05:00
use serde_derive::Deserialize;
mod remote {
pub struct S(pub u16);
}
#[derive(Deserialize)]
#[serde(remote = "remote::S")]
struct S(u8);
fn main() {}