mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-14 01:11:01 +00:00
Improve overall quality of compile_error! errors
Also updates UI tests.
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
error: field `s` has no lifetimes to borrow
|
||||
--> $DIR/no_lifetimes.rs:4:10
|
||||
--> $DIR/no_lifetimes.rs:6:5
|
||||
|
|
||||
4 | #[derive(Deserialize)]
|
||||
| ^^^^^^^^^^^
|
||||
6 | / #[serde(borrow)]
|
||||
7 | | s: String,
|
||||
| |_____________^
|
||||
|
||||
error: aborting due to previous error
|
||||
|
||||
|
||||
Reference in New Issue
Block a user