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