about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAndy Russell <arussell123@gmail.com>2018-12-10 12:24:39 -0500
committerAndy Russell <arussell123@gmail.com>2018-12-10 21:08:26 -0500
commit56413ecffc22b9932f3c3893aa98a36e18818b42 (patch)
tree73962dae39fa56a60584e7b7d8abcb297cd50bf0 /src/rustllvm/RustWrapper.cpp
parentb755501043d5b27b39f94bcadd57c8d5dedfd6ba (diff)
downloadrust-56413ecffc22b9932f3c3893aa98a36e18818b42.tar.gz
rust-56413ecffc22b9932f3c3893aa98a36e18818b42.zip
fix intra-link resolution spans in block comments
This commit improves the calculation of code spans for intra-doc
resolution failures. All sugared doc comments should now have the
correct spans, including those where the comment is longer than the
docs.

It also fixes an issue where the spans were calculated incorrectly for
certain unsugared doc comments. The diagnostic will now always use the
span of the attributes, as originally intended.

Fixes #55964.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions