serde/test_suite/tests/ui/transparent/ser_at_least_one.stderr
David Tolnay 4821d09a48
Move all compile-fail tests to ui tests
The update-references.sh script makes these much easier to update in
bulk compared to compile-fail tests.
2018-11-24 15:43:19 -08:00

9 lines
209 B
Plaintext

error: #[serde(transparent)] requires at least one field that is not skipped
--> $DIR/ser_at_least_one.rs:12:10
|
12 | #[derive(Serialize)]
| ^^^^^^^^^
error: aborting due to previous error