about summary refs log tree commit diff
path: root/src/test/ui/issues/issue-20396.rs
blob: b6dfffbd69ebb6db40e7be53ff230e9ff4e3b31f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// compile-pass
// pretty-expanded FIXME #23616

#![allow(dead_code)]

trait Foo<T> {
    fn noop(&self, _: T);
}

enum Bar<T> { Bla(T) }

struct Baz<'a> {
    inner: for<'b> Foo<Bar<&'b ()>> + 'a,
}

fn main() {}