about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorDylan McKay <dylanmckay34@gmail.com>2015-08-15 21:06:06 +1200
committerDylan McKay <dylanmckay34@gmail.com>2015-08-15 21:06:06 +1200
commitea7768c2dd8089cc3c3dc1e27158cf1bed277308 (patch)
treefa2c70b65d7e6a75fe5e935fe73e62072c349f4a /src/rustllvm/RustWrapper.cpp
parent30ec363c76f01aeff163b51096fa9582614b52ad (diff)
downloadrust-ea7768c2dd8089cc3c3dc1e27158cf1bed277308.tar.gz
rust-ea7768c2dd8089cc3c3dc1e27158cf1bed277308.zip
Improve 'unknown instrinsic' error message
If you had previously tried to get the ValueRef associated with an
intrinsic that hadn't been described in
`trans::context::declare_intrinsic()`, the compile would panic with
an empty message.

Now we print out details about the error in the panic message.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions