unit.stderr
This file
Path
test_suite/tests/ui/default-attribute/unit.stderr
7 lines · 304 bytes
Last changed by
Merge pull request #2558 from Mingun/correct-spanOli Schererbefore adoption04bb76b
History of this fileTake it
Merge pull request #2558 from Mingun/correct-spanOli Schererbefore adoption04bb76b
lines 1–7why, one step back1error: #[serde(default)] can only be used on structs that have fields2 --> tests/ui/default-attribute/unit.rs:3:103 |43 | #[derive(Deserialize)]5 | ^^^^^^^^^^^6 |7 = note: this error originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info)