-// ignore-compare-mode-chalk
trait Z<'a, T: ?Sized>
where
T: Z<'a, u16>,
- //~^ the trait bound `for<'b> <u16 as Z<'b, u16>>::W: Clone` is not satisfied
- //~| the trait bound `for<'b> <u16 as Z<'b, u16>>::W: Clone` is not satisfied
+ //~^ the trait bound `str: Clone` is not satisfied
+ //~| the trait bound `str: Clone` is not satisfied
for<'b> <T as Z<'b, u16>>::W: Clone,
{
type W: ?Sized;
impl<'a> Z<'a, u16> for u16 {
type W = str;
- //~^ ERROR the trait bound `for<'b> <u16 as Z<'b, u16>>::W: Clone
+ //~^ ERROR the trait bound `str: Clone
}
fn main() {