rust/tests/source/issue_4954.rs

6 lines
84 B
Rust
Raw Normal View History

trait Foo {
type Arg<'a>;
}
struct Bar<T>(T) where for<'a> T: Foo<Arg<'a> = ()>;