// check-pass #![allow(non_camel_case_types)] trait HasAssoc { type Assoc; } trait Iterate { type Iter<'a> where Self: 'a; } struct KeySegment_Broken { key: T, } impl Iterate for KeySegment_Broken { type Iter<'a> = () where Self: 'a; } fn main() {}