mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-22 10:17:58 +00:00
Move all compile-fail tests to ui tests
The update-references.sh script makes these much easier to update in bulk compared to compile-fail tests.
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user