5 [0; std::mem::size_of::<*mut T>()];
6 //~^ WARN cannot use constants which depend on generic parameters in types
7 //~| WARN this was previously accepted by the compiler but is being phased out
13 const ASSOC: usize = 4;
17 //~^ WARN cannot use constants which depend on generic parameters in types
18 //~| WARN this was previously accepted by the compiler but is being phased out