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