//@ revisions: current negative #![feature(specialization)] #![cfg_attr(negative, feature(with_negative_coherence))] #![allow(incomplete_features)] pub trait Trait {} default impl Trait for U {} impl Trait<::Item> for T {} //~^ ERROR conflicting implementations of trait `Trait<_>` fn main() {}