--> $DIR/ex2a-push-one-existing-name.rs:16:12
|
LL | fn foo<'a>(x: &mut Vec<Ref<'a, i32>>, y: Ref<i32>) {
- | - consider changing the type of `y` to `Ref<'a, i32>`
+ | -------- help: consider changing the type of `y` to : `Ref<'a, i32>`
LL | x.push(y); //~ ERROR explicit lifetime
| ^ lifetime `'a` required