mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-22 21:48:02 +00:00
Improve overall quality of compile_error! errors
Also updates UI tests.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
error: #[serde(tag = "...")] cannot be used with tuple variants
|
||||
--> $DIR/internal-tuple-variant.rs:4:10
|
||||
--> $DIR/internal-tuple-variant.rs:7:5
|
||||
|
|
||||
4 | #[derive(Serialize)]
|
||||
| ^^^^^^^^^
|
||||
7 | Tuple(u8, u8),
|
||||
| ^^^^^^^^^^^^^
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
|
||||
Reference in New Issue
Block a user