1 error: generic parameters may not be used in const operations
2 --> $DIR/param-in-ct-in-ty-param-default.rs:1:44
4 LL | struct Foo<T, U = [u8; std::mem::size_of::<T>()]>(T, U);
5 | ^ cannot perform const operation using `T`
7 = note: type parameters may not be used in const expressions
8 = help: use `#![feature(generic_const_exprs)]` to allow generic const expressions
10 error: aborting due to previous error