1 warning: not reporting region error due to nll
2 --> $DIR/ex3-both-anon-regions-both-are-structs-earlybound-regions.rs:18:12
4 LL | x.push(y); //~ ERROR lifetime mismatch
7 error[E0623]: lifetime mismatch
8 --> $DIR/ex3-both-anon-regions-both-are-structs-earlybound-regions.rs:18:5
10 LL | fn foo<'a, 'b>(mut x: Vec<Ref<'a>>, y: Ref<'b>)
11 | ------- ------- these two types are declared with different lifetimes...
13 LL | x.push(y); //~ ERROR lifetime mismatch
14 | ^ ...but data from `y` flows into `x` here
16 error: aborting due to previous error
18 For more information about this error, try `rustc --explain E0623`.