]>
Commit | Line | Data |
---|---|---|
b7449926 | 1 | error[E0623]: lifetime mismatch |
0731742a | 2 | --> $DIR/regions-reborrow-from-shorter-mut-ref-mut-ref.rs:4:5 |
b7449926 XL |
3 | | |
4 | LL | fn copy_borrowed_ptr<'a, 'b, 'c>(p: &'a mut &'b mut &'c mut isize) -> &'b mut isize { | |
5 | | ----------------------------- ------------- | |
6 | | | | |
7 | | this parameter and the return type are declared with different lifetimes... | |
532ac7d7 | 8 | LL | &mut ***p |
b7449926 XL |
9 | | ^^^^^^^^^ ...but data from `p` is returned here |
10 | ||
11 | error: aborting due to previous error | |
12 | ||
60c5eb7d | 13 | For more information about this error, try `rustc --explain E0623`. |