]> git.proxmox.com Git - rustc.git/blob - src/test/ui/lifetime-errors/ex3-both-anon-regions-latebound-regions.stderr
New upstream version 1.26.0+dfsg1
[rustc.git] / src / test / ui / lifetime-errors / ex3-both-anon-regions-latebound-regions.stderr
1 error[E0623]: lifetime mismatch
2 --> $DIR/ex3-both-anon-regions-latebound-regions.rs:12:12
3 |
4 LL | fn foo<'a,'b>(x: &mut Vec<&'a u8>, y: &'b u8) {
5 | ------ ------ these two types are declared with different lifetimes...
6 LL | x.push(y); //~ ERROR lifetime mismatch
7 | ^ ...but data from `y` flows into `x` here
8
9 error: aborting due to previous error
10
11 For more information about this error, try `rustc --explain E0623`.