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