mirror of
https://github.com/serde-rs/serde.git
synced 2025-09-27 04:50:36 +00:00

The update-references.sh script makes these much easier to update in bulk compared to compile-fail tests.
9 lines
190 B
Plaintext
9 lines
190 B
Plaintext
error: `variant_identifier` can only be used on an enum
|
|
--> $DIR/variant_struct.rs:12:10
|
|
|
|
|
12 | #[derive(Deserialize)]
|
|
| ^^^^^^^^^^^
|
|
|
|
error: aborting due to previous error
|
|
|