blob: be92bef13a1dd64231886ead6b0dcc7dea2b42fd [file] [edit]
#![crate_name = "foo"]
pub struct Struct;
pub trait Tr1 {}
pub trait Tr2 {
type Assoc;
}
impl Tr2 for () {
type Assoc = Struct;
}
impl Tr1 for <() as Tr2>::Assoc {}