ICE: expected SIMD field to have definite array size
#137291
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
This example hits an ICE. The area around the error message provides some context
rust/compiler/rustc_middle/src/ty/sty.rs
Lines 1175 to 1185 in ed49386
cc #78863 (comment)
So, this is sort of expected. Maybe there is a more complete way of getting that length 5 years later?
Context: I'm trying to use this in the stdarch implementation of s390x vector intrinsics. The
test
function below is actually in a macro, hence the calculation ofN
that might look a bit weird at first glance.Code
Meta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: