about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorJeong YunWon <jeong@youknowone.org>2013-04-16 04:13:37 +0900
committerJeong YunWon <jeong@youknowone.org>2013-04-16 04:13:37 +0900
commit9b55d86e74112361c560e49ca28a8fc71964adb9 (patch)
treee27f09fd87442222fdab5dd46a62268e6cde7d01 /src/rustllvm/RustWrapper.cpp
parent1ab13549372ca12406ed948f1cdbcd5fd9da2e0f (diff)
downloadrust-9b55d86e74112361c560e49ca28a8fc71964adb9.tar.gz
rust-9b55d86e74112361c560e49ca28a8fc71964adb9.zip
Prevent eval_const_expr_partial hides prior error in expr_cast arm.
This will help not to meet confusing errors.
In issue #5873, the error was "expected constant expr for vector length: Can't cast str to int".
It was originally "expected constant expr for vector length: Non-constant path in constant expr"
This patch make the original error to be printed.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions