diff options
| author | Aaron Hill <aa1ronham@gmail.com> | 2022-04-19 20:53:35 -0400 |
|---|---|---|
| committer | Aaron Hill <aa1ronham@gmail.com> | 2022-04-19 23:42:20 -0400 |
| commit | 611a06a37526470617f08cdefc56ac4525286eb1 (patch) | |
| tree | 9e706e82a99e757a39b7d99ed4566e13f2784c95 /src/librustdoc/html/static/js/source-script.js | |
| parent | 4ca19e09d302a4cbde14f9cb1bc109179dc824cd (diff) | |
| download | rust-611a06a37526470617f08cdefc56ac4525286eb1.tar.gz rust-611a06a37526470617f08cdefc56ac4525286eb1.zip | |
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 'src/librustdoc/html/static/js/source-script.js')
0 files changed, 0 insertions, 0 deletions
