]> git.proxmox.com Git - rustc.git/blame - src/test/ui/lifetime-errors/ex3-both-anon-regions-both-are-structs-4.stderr
New upstream version 1.26.0+dfsg1
[rustc.git] / src / test / ui / lifetime-errors / ex3-both-anon-regions-both-are-structs-4.stderr
CommitLineData
ea8adc8c
XL
1error[E0623]: lifetime mismatch
2 --> $DIR/ex3-both-anon-regions-both-are-structs-4.rs:16:11
3 |
0531ce1d 4LL | fn foo(mut x: Ref) {
ea8adc8c
XL
5 | ---
6 | |
7 | this type is declared with multiple lifetimes...
0531ce1d 8LL | x.a = x.b; //~ ERROR lifetime mismatch
ea8adc8c
XL
9 | ^^^ ...but data with one lifetime flows into the other here
10
11error: aborting due to previous error
12
0531ce1d 13For more information about this error, try `rustc --explain E0623`.