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

#![feature(generic_associated_types)]

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

fn main() {}