mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-22 20:38:02 +00:00
Improve UI test coverage
With this commit I believe I've covered all `compile_error!`-based errors.
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user