]>
Commit | Line | Data |
---|---|---|
1a4d82fc | 1 | // Issue #8624. Test for reborrowing with 3 levels, not just two. |
223e47cc | 2 | |
1a4d82fc | 3 | fn copy_borrowed_ptr<'a, 'b, 'c>(p: &'a mut &'b mut &'c mut isize) -> &'b mut isize { |
04454e1e | 4 | &mut ***p |
923072b8 | 5 | //~^ ERROR lifetime may not live long enough |
223e47cc LB |
6 | } |
7 | ||
8 | fn main() { | |
9 | } |