1 // Check that we check that default associated types satisfy the required
3 // ignore-compare-mode-chalk
5 #![feature(specialization)]
6 //~^ WARNING `specialization` is incomplete
10 fn unsafe_clone(&self, x: Option<&Self::U>) {
15 // We cannot normalize `<T as X>::U` to `str` here, because the default could
16 // be overridden. The error here must therefore be found by a method other than
20 //~^ ERROR the trait bound `str: Clone` is not satisfied