blob: 3c62e47381c0b7abc44519f1efc8329f73cb71ad [file] [log] [blame]
struct Foo<T, U = [u8; std::mem::size_of::<T>()]>(T, U);
//~^ ERROR generic parameters may not be used in const operations
fn main() {}