mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
6 lines
84 B
Rust
6 lines
84 B
Rust
trait Foo {
|
|
type Arg<'a>;
|
|
}
|
|
|
|
struct Bar<T>(T) where for<'a> T: Foo<Arg<'a> = ()>;
|