mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 09:14:20 +00:00
17 lines
218 B
Rust
17 lines
218 B
Rust
//@ 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() {}
|