]> git.proxmox.com Git - rustc.git/blob - src/test/ui/lifetime-errors/ex3-both-anon-regions-earlybound-regions.stderr
New upstream version 1.22.1+dfsg1
[rustc.git] / src / test / ui / lifetime-errors / ex3-both-anon-regions-earlybound-regions.stderr
1 error[E0623]: lifetime mismatch
2 --> $DIR/ex3-both-anon-regions-earlybound-regions.rs:17:12
3 |
4 13 | fn baz<'a, 'b, T>(x: &mut Vec<&'a T>, y: &T)
5 | ----- -- these two types are declared with different lifetimes...
6 ...
7 17 | x.push(y);
8 | ^ ...but data from `y` flows into `x` here
9
10 error: aborting due to previous error
11