summaryrefslogtreecommitdiffstats
path: root/src/test/ui/generic-associated-types/issue-92954.rs
blob: 22ce8f9fe3b806b630b4f595029cc5493da50bf5 (plain)
1
2
3
4
5
6
7
8
// check-pass

pub trait Foo {
    type Assoc<'c>;
    fn function() -> for<'x> fn(Self::Assoc<'x>);
}

fn main() {}