6 lines
140 B
Plaintext
6 lines
140 B
Plaintext
error: #[serde(variant_identifier)] can only be used on an enum
|
|
--> tests/ui/identifier/variant_struct.rs:5:1
|
|
|
|
|
5 | struct S;
|
|
| ^^^^^^
|