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

10 lines
134 B
Rust

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