fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.0
1error: lifetime may not live long enough 2 --> $DIR/regions-addr-of-self.rs:7:16 3 | 4LL | pub fn chase_cat(&mut self) { 5 | - let's call the lifetime of this reference `'1` 6LL | let p: &'static mut usize = &mut self.cats_chased; 7 | ^^^^^^^^^^^^^^^^^^ type annotation requires that `'1` must outlive `'static` 8 9error: aborting due to previous error 10