Files
serde/test_suite/tests/ui/precondition/serialize_variant_identifier.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

13 lines
230 B
Plaintext

error: variant identifiers cannot be serialized
--> $DIR/serialize_variant_identifier.rs:5:1
|
5 | / #[serde(variant_identifier)]
6 | | enum F {
7 | | A,
8 | | B,
9 | | }
| |_^
error: aborting due to previous error