Closed
Description
RA version: d5f7b2e
rustc version: 1.52.0 and 1.54.0-nightly
When using the const generic parameter in an array type the const parameter receive the unresolvedReference token.
Example
struct Test<const N: usize> {
o: [u32; N],
}
fn test<const N: usize>() -> [u8; N] {
let _b = [0; N];
todo!()
}
fn test2<const N: usize>() -> Test<N> {
todo!()
}
This may be related to #8655 ?