]> git.lizzy.rs Git - rust.git/blob - src/test/ui/generics/param-in-ct-in-ty-param-default.rs
Auto merge of #87284 - Aaron1011:remove-paren-special, r=petrochenkov
[rust.git] / src / test / ui / generics / param-in-ct-in-ty-param-default.rs
1 struct Foo<T, U = [u8; std::mem::size_of::<T>()]>(T, U);
2 //~^ ERROR generic parameters may not be used in const operations
3
4 fn main() {}