Open
Description
Code
struct Simd<T, const N: usize>([T; N]);
fn into_array<T, const N: usize>(v: Simd<T, N>) -> [T, N] {
todo!()
}
Current output
error: expected one of `!`, `(`, `+`, `::`, `;`, `<`, or `]`, found `,`
--> src/lib.rs:3:54
|
3 | fn into_array<T, const N: usize>(v: Simd<T, N>) -> [T, N] {
| ^ expected one of 7 possible tokens
Desired output
Something noting that I probably meant to write `[T; N]` there.
Rationale and extra context
No response
Other cases
Rust Version
Nightly version: 1.90.0-nightly
(2025-07-11 855e0fe46e68d94e9f61)