summary refs log tree commit diff
path: root/src/test/ui/issues/issue-16683.rs
blob: bbbd4daa4c5c46efcd4164f84f8362ecab10e495 (plain)
1
2
3
4
5
6
7
8
trait T<'a> {
    fn a(&'a self) -> &'a bool;
    fn b(&self) {
        self.a(); //~ ERROR cannot infer
    }
}

fn main() {}