about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-04-21 01:14:17 +0200
committerGitHub <noreply@github.com>2022-04-21 01:14:17 +0200
commit463c94a780c642c9ceae00bb24a001ab1a16dca2 (patch)
tree9159ce44e02d62deedfb4adbba184209b3150544 /compiler/rustc_llvm/llvm-wrapper
parente2543d7a4e0bdc2b6b9ddebabf435e65e621cead (diff)
parent611a06a37526470617f08cdefc56ac4525286eb1 (diff)
downloadrust-463c94a780c642c9ceae00bb24a001ab1a16dca2.tar.gz
rust-463c94a780c642c9ceae00bb24a001ab1a16dca2.zip
Rollup merge of #96236 - Aaron1011:constraint-debug, r=jackh726
Add an explicit `Span` field to `OutlivesConstraint`

Previously, we would retrieve the span from the `Body` using
the `locations` field. However, we may end up changing the
`locations` field when moving a constraint from a promoted
to a different body.

We now store the original `Span` in a dedication field, so that
changes to the `locations` do not affect the quality of our
diagnostics.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions