You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let someArray = [1,2,3];let a = &someArray;// The variable 'a' has a type &'static [i32, 3]letref b = someArray;// The variable 'b' has a type &'static [i32, 3]
I've tried to write:
letref a = someArray[..];// I thought maybe it equals to &someArray[..];
The line above gives LLVM assertion.
I think this must show some syntax error.
Assertion failed!
Program: C:\rust\bin\rustc.exe
File: C:/bot/slave/nightly-dist-rustc-win-64/build/src/llvm/lib/IR/Instructions.
cpp, Line 1083
Expression: getOperand(0)->getType() == cast<PointerType>(getOperand(1)->getType
())->getElementType() && "Ptr must be a pointer to Val type!"
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
The text was updated successfully, but these errors were encountered:
huonw
added
A-DSTs
Area: Dynamically-sized types (DSTs)
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
labels
Mar 22, 2015
I've tried to write:
The line above gives LLVM assertion.
I think this must show some syntax error.
The text was updated successfully, but these errors were encountered: