about summary refs log tree commit diff
path: root/library/std/src/sys/wasi/stdio.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-08-22 14:59:21 +0000
committerbors <bors@rust-lang.org>2022-08-22 14:59:21 +0000
commite0dc8d78019ca924203fe153ff0af7f64f68cb5d (patch)
treeb23cb7ef4b6ce43fa21873e78c078c7fe9b1d6ee /library/std/src/sys/wasi/stdio.rs
parenta8a33cf27166d3eabaffc58ed3799e054af3b0c6 (diff)
parent5d7ce21b6ba31e93d7d9af71dd330ecc71387a2d (diff)
downloadrust-e0dc8d78019ca924203fe153ff0af7f64f68cb5d.tar.gz
rust-e0dc8d78019ca924203fe153ff0af7f64f68cb5d.zip
Auto merge of #99908 - Nilstrieb:mir-opt-span, r=oli-obk
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.

Fixes #99854

r? `@oli-obk`
Diffstat (limited to 'library/std/src/sys/wasi/stdio.rs')
0 files changed, 0 insertions, 0 deletions