Compiler segfault / illegal instruction: llvm: Assertion `Ty && "Invalid GetElementPtrInst indices for type!"' failed. #27455
Labels
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Environment
Local Environment
Playpen Environment
This was tested 01/07/2015. I am not sure how to get the exact versions from the playpen.
Error
On 1.0.0 Stable (tested on local environment)
On 1.1.0 Stable (tested on playpen)
On nightly (tested on playpen)
Notes
This only occurs when trying to compile and run the test cast using
cargo test
. Simply building the example withcargo build
works as expected (no crash).Related Issues
I searched for related issues but they all seem to be solved, and this is still occurring. Hence I am opening a new issue instead. The related issues that I found with a similar assertion:
Minimal Reproducable Example
Thanks to @arielb1
Full Code Snippet
The text was updated successfully, but these errors were encountered: