1 // Tests that we consider `T: Sugar + Fruit` to be ambiguous, even
2 // though no impls are found.
6 #![cfg_attr(re, feature(re_rebalance_coherence))]
11 impl<T:Sugar> Sweet for T { }
12 impl<T:Fruit> Sweet for T { }
18 impl<X, T> Foo<X> for T where T: Bar<X> {}
19 impl<X> Foo<X> for i32 {}