]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/const-generics/issues/issue-80062.rs
1 // Regression test for issue #80062 (fixed by `min_const_generics`)
3 fn sof
<T
>() -> T { unimplemented!() }
6 let _
: [u8; sof
::<T
>()];
7 //~^ ERROR generic parameters may not be used in const operations