]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/regions/regions-addr-of-upvar-self.rs
6 pub fn chase_cat(&mut self) {
8 let p
: &'
static mut usize = &mut self.food
;
9 //~^ ERROR lifetime may not live long enough
10 //~^^ ERROR lifetime may not live long enough