Add ui test with nonempty string containing no lifetimes

This commit is contained in:
David Tolnay
2023-03-08 18:49:59 -08:00
parent eb1e8c140d
commit b1b09eba60
2 changed files with 8 additions and 0 deletions
@@ -3,6 +3,8 @@ use serde_derive::Deserialize;
#[derive(Deserialize)]
struct Test<'a> {
#[serde(borrow = "")]
r: &'a str,
#[serde(borrow = " ")]
s: &'a str,
}