]> git.proxmox.com Git - rustc.git/blame - src/test/ui/lifetimes/lifetime-errors/ex3-both-anon-regions-one-is-struct-4.stderr
New upstream version 1.41.1+dfsg1
[rustc.git] / src / test / ui / lifetimes / lifetime-errors / ex3-both-anon-regions-one-is-struct-4.stderr
CommitLineData
ea8adc8c 1error[E0623]: lifetime mismatch
0731742a 2 --> $DIR/ex3-both-anon-regions-one-is-struct-4.rs:4:11
ea8adc8c 3 |
0531ce1d 4LL | fn foo(mut y: Ref, x: &u32) {
ea8adc8c 5 | --- ---- these two types are declared with different lifetimes...
532ac7d7 6LL | y.b = x;
ea8adc8c
XL
7 | ^ ...but data from `x` flows into `y` here
8
9error: aborting due to previous error
10
60c5eb7d 11For more information about this error, try `rustc --explain E0623`.