We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reproduce: http://is.gd/rk75YC
Inlined:
const FOO: [u32; 3] = [1, 2, 3]; const BAR: u32 = FOO[5]; fn main() { let _ = BAR; }
Error:
ustc: /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/llvm/lib/IR/Constants.cpp:2189: static llvm::Constant* llvm::ConstantExpr::getExtractValue(llvm::Constant*, llvm::ArrayRef<unsigned int>, llvm::Type*): Assertion `ReqTy && "extractvalue indices invalid!"' failed. Aborted (core dumped) playpen: application terminated with error code 134
The text was updated successfully, but these errors were encountered:
Fix LLVM assertion when out-of-bounds indexing in a constant
de67c3a
Fixes rust-lang#23291
Rollup merge of rust-lang#23294 - dotdash:coob, r=alexcrichton
2c251fa
dotdash
Successfully merging a pull request may close this issue.
Reproduce: http://is.gd/rk75YC
Inlined:
Error:
The text was updated successfully, but these errors were encountered: