about summary refs log tree commit diff
path: root/src/librustdoc/html/static/js/source-script.js
diff options
context:
space:
mode:
authorAaron Hill <aa1ronham@gmail.com>2022-04-19 20:53:35 -0400
committerAaron Hill <aa1ronham@gmail.com>2022-04-19 23:42:20 -0400
commit611a06a37526470617f08cdefc56ac4525286eb1 (patch)
tree9e706e82a99e757a39b7d99ed4566e13f2784c95 /src/librustdoc/html/static/js/source-script.js
parent4ca19e09d302a4cbde14f9cb1bc109179dc824cd (diff)
downloadrust-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