1 warning: not reporting region error due to nll
2 --> $DIR/ex2e-push-inference-variable-3.rs:17:13
4 LL | let b = Ref { data: y.data };
7 error[E0623]: lifetime mismatch
8 --> $DIR/ex2e-push-inference-variable-3.rs:18:5
10 LL | fn foo<'a, 'b, 'c>(x: &'a mut Vec<Ref<'b, i32>>, y: Ref<'c, i32>) {
11 | ------------ ------------ these two types are declared with different lifetimes...
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`.