diff options
| author | Dylan McKay <dylanmckay34@gmail.com> | 2015-08-15 21:06:06 +1200 |
|---|---|---|
| committer | Dylan McKay <dylanmckay34@gmail.com> | 2015-08-15 21:06:06 +1200 |
| commit | ea7768c2dd8089cc3c3dc1e27158cf1bed277308 (patch) | |
| tree | fa2c70b65d7e6a75fe5e935fe73e62072c349f4a /src/rustllvm/RustWrapper.cpp | |
| parent | 30ec363c76f01aeff163b51096fa9582614b52ad (diff) | |
| download | rust-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
