mirror of
https://github.com/serde-rs/serde.git
synced 2025-09-26 20:40:35 +00:00

The update-references.sh script makes these much easier to update in bulk compared to compile-fail tests.
9 lines
213 B
Plaintext
9 lines
213 B
Plaintext
error: #[serde(default)] can only be used on structs with named fields
|
|
--> $DIR/nameless_struct_fields.rs:12:10
|
|
|
|
|
12 | #[derive(Deserialize)]
|
|
| ^^^^^^^^^^^
|
|
|
|
error: aborting due to previous error
|
|
|