struct Ref<'a, T: 'a> { data: &'a T } fn foo<'a>(x: &mut Vec>, y: Ref) { x.push(y); //~ ERROR explicit lifetime } fn main() { }