mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-24 20:27:57 +00:00
Improve overall quality of compile_error! errors
Also updates UI tests.
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
error: cannot deserialize a dynamically sized struct
|
||||
--> $DIR/deserialize_dst.rs:4:10
|
||||
--> $DIR/deserialize_dst.rs:5:1
|
||||
|
|
||||
4 | #[derive(Deserialize)]
|
||||
| ^^^^^^^^^^^
|
||||
5 | / struct S {
|
||||
6 | | string: String,
|
||||
7 | | slice: [u8],
|
||||
8 | | }
|
||||
| |_^
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
|
||||
Reference in New Issue
Block a user