missing_field.rs
This file
Path
test_suite/tests/ui/remote/missing_field.rs
16 lines · 227 bytes · Rust
Last changed by
Not known.
History of this fileTake it
The walk stopped after 200 commits: lines older than 3761854 point at it.
Merge pull request #2745 from dtolnay/docsrsDavid Tolnaybefore adoption3761854
lines 1–16why, one step back1use serde_derive::{Deserialize, Serialize};23mod remote {4 pub struct S {5 pub a: u8,6 pub b: u8,7 }8}910#[derive(Serialize, Deserialize)]11#[serde(remote = "remote::S")]12struct S {13 a: u8,14}1516fn main() {}