mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-22 20:38:02 +00:00
Improve overall quality of compile_error! errors
Also updates UI tests.
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
error: #[serde(other)] must be on a unit variant
|
||||
--> $DIR/not_unit.rs:4:10
|
||||
--> $DIR/not_unit.rs:8:5
|
||||
|
|
||||
4 | #[derive(Deserialize)]
|
||||
| ^^^^^^^^^^^
|
||||
8 | / #[serde(other)]
|
||||
9 | | Other(u8, u8),
|
||||
| |_________________^
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
|
||||
Reference in New Issue
Block a user