1 // https://github.com/rust-lang/rust/issues/69228
2 // Used to give bogus suggestion about T not being Sized.
7 let _arr: [u8; size_of::<T>()];
8 //~^ ERROR generic parameters may not be used in const operations
9 //~| NOTE cannot perform const operation
10 //~| NOTE type parameters may not be used in const expressions