rust/tests/target/issue_4954.rs

8 lines
90 B
Rust
Raw Normal View History

2021-08-30 04:13:42 -05:00
trait Foo {
type Arg<'a>;
}
struct Bar<T>(T)
where
for<'a> T: Foo<Arg<'a> = ()>;