summaryrefslogtreecommitdiffstats
path: root/tests/ui/issues/issue-20396.rs
blob: 4a34f8b385f0fa336fafc802db616da7fc2190ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// check-pass
// pretty-expanded FIXME #23616

#![allow(dead_code)]

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

enum Bar<T> { Bla(T) }

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

fn main() {}