1 // Tests that we consider `Box<U>: !Sugar` to be ambiguous, even
2 // though we see no impl of `Sugar` for `Box`. Therefore, an overlap
3 // error is reported for the following pair of impls (#23516).
9 impl<T:Sugar> Cake<T> { fn dummy(&self) { } }
11 impl<U:Sugar> Cake<Box<U>> { fn dummy(&self) { } }