about summary refs log tree commit diff
path: root/tests/ui/generic-associated-types/issue-92954.rs
blob: 926ebd897eb69f0fa2e363e2b7c87c407580a994 (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() {}