about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2022-07-29 16:34:06 +0200
committernils <48135649+Nilstrieb@users.noreply.github.com>2022-08-22 14:06:55 +0200
commit455a55e681c16f599bb66c9b634bcf0672f8a4c0 (patch)
tree2d1e98fa3a019e7a3b6db605cd41c51101e7eff0 /compiler/rustc_codegen_llvm/src
parentee8c31e64d229cac4eba6d8f03bb70e16f34a14b (diff)
downloadrust-455a55e681c16f599bb66c9b634bcf0672f8a4c0.tar.gz
rust-455a55e681c16f599bb66c9b634bcf0672f8a4c0.zip
Show absolute line numbers if span is outside relative span
In the MIR pretty printing, it can sometimes happen that the span of the
statement is outside the span of the body (for example through
inlining). In this case, don't display a relative span but an absolute
span. This will make the mir-opt-tests a little more prone to diffs
again, but the impact should be small.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions