serde/test_suite/tests/ui/borrow/duplicate_lifetime.rs
2018-12-31 21:38:13 -05:00

10 lines
138 B
Rust

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