// If we treat known inductive cycles as errors, this test compiles // as normalizing `Overflow::Assoc` fails. // // As coherence already uses the new solver on stable, this change // would require an FCP. trait Trait { type Assoc; } struct Overflow; impl Trait for Overflow { type Assoc = ::Assoc; } trait Overlap {} impl Overlap, U> for T {} impl Overlap for Overflow {} //~^ ERROR conflicting implementations of trait `Overlap<::Assoc, _>` for type `Overflow` fn main() {}