1 #![deny(elided_lifetimes_in_paths)]
2 
3 // Previously, the elided-lifetimes-in-path lint would fire, but we don't want
4 // that, because `'_` isn't legal in struct declarations.
5 
6 struct Betrayal<'a> { x: &'a u8 }
7 
8 struct Heartbreak(Betrayal);  //~ ERROR missing lifetime specifier
9 
main()10 fn main() {}
11