mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-13 17:11:02 +00:00
Add ui test with nonempty string containing no lifetimes
This commit is contained in:
@@ -3,3 +3,9 @@ error: at least one lifetime must be borrowed
|
||||
|
|
||||
5 | #[serde(borrow = "")]
|
||||
| ^^
|
||||
|
||||
error: failed to parse borrowed lifetimes: " "
|
||||
--> tests/ui/borrow/empty_lifetimes.rs:7:22
|
||||
|
|
||||
7 | #[serde(borrow = " ")]
|
||||
| ^^^^
|
||||
|
||||
Reference in New Issue
Block a user