1 warning: not reporting region error due to nll
2 --> $DIR/regions-reborrow-from-shorter-mut-ref.rs:16:5
4 LL | &mut **p //~ ERROR 16:5: 16:13: lifetime mismatch [E0623]
7 error: unsatisfied lifetime constraints
8 --> $DIR/regions-reborrow-from-shorter-mut-ref.rs:15:73
10 LL | fn copy_borrowed_ptr<'a, 'b>(p: &'a mut &'b mut isize) -> &'b mut isize {
11 | ______________________--__--_____________________________________________^
13 | | | lifetime `'b` defined here
14 | | lifetime `'a` defined here
15 LL | | &mut **p //~ ERROR 16:5: 16:13: lifetime mismatch [E0623]
17 | |_^ requires that `'a` must outlive `'b`
19 error: aborting due to previous error