1 2 3 4 5 6 7 8 9
trait T<'a> { fn a(&'a self) -> &'a bool; fn b(&self) { self.a(); //~^ ERROR lifetime may not live long enough } } fn main() {}