blob: 258b6805acd5cc0a76df9d4721ff066876fd8a2e [file] [log] [blame]
error[E0623]: lifetime mismatch
--> $DIR/ex2e-push-inference-variable-3.rs:6:33
|
LL | fn foo<'a, 'b, 'c>(x: &'a mut Vec<Ref<'b, i32>>, y: Ref<'c, i32>) {
| ------------ ------------ these two types are declared with different lifetimes...
LL | let a: &mut Vec<Ref<i32>> = x;
| ^ ...but data from `y` flows into `x` here
error: aborting due to previous error
For more information about this error, try `rustc --explain E0623`.