4 #![feature(generic_associated_types)]
8 type Assoc where u32: Copy;
10 type Assoc2 where u32: Copy, i32: Copy;
14 // Not fine, suggests moving.
15 type Assoc where u32: Copy = ();
16 //~^ WARNING where clause not allowed here
17 // Not fine, suggests moving `u32: Copy`
18 type Assoc2 where u32: Copy = () where i32: Copy;
19 //~^ WARNING where clause not allowed here
24 type Assoc = () where u32: Copy;
25 // Not fine, suggests moving both.
26 type Assoc2 where u32: Copy, i32: Copy = ();
27 //~^ WARNING where clause not allowed here