about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorMichael Hewson <michael@michaelhewson.ca>2018-12-19 18:27:58 -0500
committerMichael Hewson <michael@michaelhewson.ca>2019-01-04 17:43:18 -0500
commit2433526809644fd8990773b32a6c6e7286d20a95 (patch)
treefd1176f8e64d02d39a0ed4538ba21e67ecff6cd7 /src/rustllvm/RustWrapper.cpp
parent9723a495d4aeda267b5657750bf0f7f4436af507 (diff)
downloadrust-2433526809644fd8990773b32a6c6e7286d20a95.tar.gz
rust-2433526809644fd8990773b32a6c6e7286d20a95.zip
use `delay_span_bug` instead of `bug!` when doing layout sanity check
It's possible that `is_object_safe` is called on a trait that is ill-formed, and we shouldn't ICE unless there are no errors being raised. Using `delay_span_bug` solves this.

fixes #56806
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions