We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Note the Array<N, ()> use, instead of Array<(), N>:
Array<N, ()>
Array<(), N>
#![feature(const_generics)] pub type Array<T, const N: usize> = [T; N]; pub fn foo<const N: usize>() -> Array<N, ()> { unimplemented!() }
This currently results in cat_expr Errd and broken MIR ICEs.
cat_expr Errd
broken MIR
cc @varkor @yodaldevoid @oli-obk