rust/src/test/ui/issues/issue-16683.rs
2018-12-25 21:08:33 -07:00

9 lines
127 B
Rust

trait T<'a> {
fn a(&'a self) -> &'a bool;
fn b(&self) {
self.a(); //~ ERROR cannot infer
}
}
fn main() {}