about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAriel Ben-Yehuda <ariel.byd@gmail.com>2016-07-20 00:02:56 +0300
committerAriel Ben-Yehuda <ariel.byd@gmail.com>2016-07-22 14:32:56 +0300
commit37c569627cd285788509f654a6a2658126ba72e4 (patch)
tree58075ace7051f4933c7ef992f1fbb94a518f4337 /src/rustllvm/RustWrapper.cpp
parentfa4eda8935cc902b0757815e774f11ee791af156 (diff)
downloadrust-37c569627cd285788509f654a6a2658126ba72e4.tar.gz
rust-37c569627cd285788509f654a6a2658126ba72e4.zip
refactor constant evaluation error reporting
Refactor constant evaluation to use a single error reporting function
that reports a type-error-like message.

Also, unify all error codes with the "constant evaluation error" message
to just E0080, and similarly for a few other duplicate codes. The old
situation was a total mess, and now that we have *something* we can
further iterate on the UX.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions