blob: 38a2a55e1c4a3ea7fe4b233ef65dd28275d3ebb1 [file] [log] [blame]
//@ known-bug: #141124
struct S;
trait SimpleTrait {}
trait TraitAssoc {
type Assoc;
}
impl<T> TraitAssoc for T
where
T: SimpleTrait,
{
type Assoc = <(T,) as TraitAssoc>::Assoc;
}
impl SimpleTrait for <S as TraitAssoc>::Assoc {}
pub fn main() {}