diff options
| author | Dylan DPC <99973273+Dylan-DPC@users.noreply.github.com> | 2022-04-21 01:14:17 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-21 01:14:17 +0200 |
| commit | 463c94a780c642c9ceae00bb24a001ab1a16dca2 (patch) | |
| tree | 9159ce44e02d62deedfb4adbba184209b3150544 /compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | |
| parent | e2543d7a4e0bdc2b6b9ddebabf435e65e621cead (diff) | |
| parent | 611a06a37526470617f08cdefc56ac4525286eb1 (diff) | |
| download | rust-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/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
