1 // Check that we disallow GAT param defaults, even with `invalid_type_param_default` allowed
3 #![allow(invalid_type_param_default)]
7 //~^ defaults for type parameters are only allowed
11 type Assoc<T = u32> = u64;
12 //~^ defaults for type parameters are only allowed
16 type Assoc<T = u32> = T;
17 //~^ defaults for type parameters are only allowed
25 T: Trait<Assoc = u32>,