serde/test_suite/tests/ui/identifier/field_struct.stderr
David Tolnay bbba632ab3
Revert "Ui tests with compile_error resolved at call site"
This reverts commit e77db40b8d55f000c04a5e0a42299d373318e1c3.
2023-06-07 20:50:51 -07:00

6 lines
136 B
Plaintext

error: #[serde(field_identifier)] can only be used on an enum
--> tests/ui/identifier/field_struct.rs:5:1
|
5 | struct S;
| ^^^^^^