serde/test_suite/tests/ui/identifier/variant_struct.stderr
2021-10-08 02:46:15 -04:00

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;
| ^^^^^^