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