blob: c2948086b200b7f1812a6e613f3bd0c61a341852 [file] [log] [blame] [edit]
struct S<T: Tr>(T::Assoc);
trait Tr {
type Assoc;
}
struct Hoge<K> {
s: S<K>, //~ ERROR the trait bound `K: Tr` is not satisfied
a: u32,
}
fn main() {}