serde/test_suite/tests/ui/remote/unknown_field.rs
2023-07-06 15:56:47 -07:00

16 lines
208 B
Rust

use serde_derive::{Deserialize, Serialize};
mod remote {
pub struct S {
pub a: u8,
}
}
#[derive(Serialize, Deserialize)]
#[serde(remote = "remote::S")]
struct S {
b: u8,
}
fn main() {}