Files
serde/test_suite/tests/ui/default-attribute/nameless_struct_fields_path.stderr
T
hcpl 14a3da9b16 Improve UI test coverage
With this commit I believe I've covered all `compile_error!`-based
errors.
2018-11-30 03:07:31 +02:00

9 lines
211 B
Plaintext

error: #[serde(default = "...")] can only be used on structs with named fields
--> $DIR/nameless_struct_fields_path.rs:6:9
|
6 | struct T(u8, u8);
| ^^^^^^^^
error: aborting due to previous error