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