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