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