1 warning: not reporting region error due to nll
2 --> $DIR/ex3-both-anon-regions-both-are-structs.rs:15:12
4 LL | x.push(y); //~ ERROR lifetime mismatch
7 error: unsatisfied lifetime constraints
8 --> $DIR/ex3-both-anon-regions-both-are-structs.rs:15:5
10 LL | fn foo(mut x: Vec<Ref>, y: Ref) {
11 | --- --- lifetime `'1` appears in this type
13 | lifetime `'2` appears in this type
14 LL | x.push(y); //~ ERROR lifetime mismatch
15 | ^^^^^^^^^ argument requires that `'1` must outlive `'2`
17 error: aborting due to previous error