rust/tests/ui/issues/issue-20396.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

17 lines
216 B
Rust
Raw Normal View History

// check-pass
// pretty-expanded FIXME #23616
#![allow(dead_code)]
trait Foo<T> {
fn noop(&self, _: T);
}
enum Bar<T> { Bla(T) }
struct Baz<'a> {
2019-05-28 18:46:13 +00:00
inner: dyn for<'b> Foo<Bar<&'b ()>> + 'a,
}
fn main() {}