about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-12-12 08:18:13 +0000
committerbors <bors@rust-lang.org>2018-12-12 08:18:13 +0000
commita64cdec1b48b0d042e5f0e38634a7c438c104b85 (patch)
tree5d275c1b5a5c1bd9df4ed1d514f3d3ce75a11f02 /src/rustllvm/RustWrapper.cpp
parent8375ab4ff43474c73e3572c2b226560f8cc8e695 (diff)
parent56413ecffc22b9932f3c3893aa98a36e18818b42 (diff)
downloadrust-a64cdec1b48b0d042e5f0e38634a7c438c104b85.tar.gz
rust-a64cdec1b48b0d042e5f0e38634a7c438c104b85.zip
Auto merge of #56010 - euclio:intra-doc-spans, r=QuietMisdreavus
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.

r? @QuietMisdreavus
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions