serde/test_suite/tests/ui/identifier/both.stderr

12 lines
406 B
Plaintext
Raw Normal View History

error: #[serde(field_identifier)] and #[serde(variant_identifier)] cannot both be set
2018-12-31 20:36:59 -06:00
--> $DIR/both.rs:4:9
|
2018-12-31 20:36:59 -06:00
4 | #[serde(field_identifier, variant_identifier)]
| ^^^^^^^^^^^^^^^^
error: #[serde(field_identifier)] and #[serde(variant_identifier)] cannot both be set
2018-12-31 20:36:59 -06:00
--> $DIR/both.rs:4:27
|
2018-12-31 20:36:59 -06:00
4 | #[serde(field_identifier, variant_identifier)]
| ^^^^^^^^^^^^^^^^^^