Add ui test with nonempty string containing no lifetimes

This commit is contained in:
David Tolnay committed 2023-03-08 18:49:59 -08:00
1 parent eb1e8c140d
commit b1b09eba60
2 files changed
+8

No files matched your search

@@ -3,6 +3,8 @@ use serde_derive::Deserialize;
#[derive(Deserialize)]
struct Test<'a> {
#[serde(borrow = "")]
r: &'a str,
#[serde(borrow = " ")]
s: &'a str,
}