blob: 72fa21bddd1861d63fd8a248dec41b2971b9ffbb [file] [log] [blame] [edit]
trait T<'a> {
fn a(&'a self) -> &'a bool;
fn b(&self) {
self.a();
//~^ ERROR lifetime may not live long enough
}
}
fn main() {}