1 error[E0308]: mismatched types
2 --> $DIR/ex2a-push-one-existing-name.rs:16:12
7 = note: expected type `Ref<'a, _>`
8 found type `Ref<'_, _>`
9 note: the anonymous lifetime #2 defined on the body at 15:51...
10 --> $DIR/ex2a-push-one-existing-name.rs:15:52
12 15 | fn foo<'a>(x: &mut Vec<Ref<'a, i32>>, y: Ref<i32>) {
13 | ____________________________________________________^ starting here...
17 note: ...does not necessarily outlive the lifetime 'a as defined on the body at 15:51
18 --> $DIR/ex2a-push-one-existing-name.rs:15:52
20 15 | fn foo<'a>(x: &mut Vec<Ref<'a, i32>>, y: Ref<i32>) {
21 | ____________________________________________________^ starting here...
26 error: aborting due to previous error