summaryrefslogtreecommitdiffstats
path: root/src/test/ui/associated-types/associated-types-resolve-lifetime.rs
blob: 52f2324d72ab7c9a84368cfbc6bfecad9e8badda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// run-pass
// pretty-expanded FIXME #23616

trait Get<T> {
    fn get(&self) -> T;
}

trait Trait<'a> {
    type T: 'static;
    type U: Get<&'a isize>;

    fn dummy(&'a self) { }
}

fn main() {}