serde/test_suite/tests/ui/borrow/empty_lifetimes.rs

12 lines
175 B
Rust

use serde_derive::Deserialize;
#[derive(Deserialize)]
struct Test<'a> {
#[serde(borrow = "")]
r: &'a str,
#[serde(borrow = " ")]
s: &'a str,
}
fn main() {}