about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorCamelid <camelidcamel@gmail.com>2021-01-12 20:52:06 -0800
committerCamelid <camelidcamel@gmail.com>2021-01-12 20:54:35 -0800
commitc3f7429fb4edae31b5e4838404aa2a11117dabcc (patch)
tree351e4386cc89c9d7d7a5f3f3ebcf90ef7baae17a /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parent058a71016553f267ae80b90276ef79956457d51a (diff)
downloadrust-c3f7429fb4edae31b5e4838404aa2a11117dabcc.tar.gz
rust-c3f7429fb4edae31b5e4838404aa2a11117dabcc.zip
Use better ICE message when no MIR is available
The ICE message is somewhat confusing and overly specific - the issue is
that there's no MIR available.

This should make debugging these ICEs easier since the error tells you
what's actually wrong, not what it was trying to do when it failed.

cc https://github.com/rust-lang/rust/pull/80952#issuecomment-759198841
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions