]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-20396.rs
Rollup merge of #107091 - clubby789:infer-ftl-missing-dollar, r=compiler-errors
[rust.git] / tests / ui / issues / issue-20396.rs
1 // check-pass
2 // pretty-expanded FIXME #23616
3
4 #![allow(dead_code)]
5
6 trait Foo<T> {
7     fn noop(&self, _: T);
8 }
9
10 enum Bar<T> { Bla(T) }
11
12 struct Baz<'a> {
13     inner: dyn for<'b> Foo<Bar<&'b ()>> + 'a,
14 }
15
16 fn main() {}