1
Fork 0
rust/src/librustdoc
bors a64cdec1b4 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
2018-12-12 08:18:13 +00:00
..
clean fix intra-link resolution spans in block comments 2018-12-10 21:08:26 -05:00
html Rollup merge of #56633 - GuillaumeGomez:fix-right-arrow-display, r=QuietMisdreavus 2018-12-10 22:01:58 +01:00
passes fix intra-link resolution spans in block comments 2018-12-10 21:08:26 -05:00
Cargo.toml Update minifier version 2018-10-11 21:37:04 +02:00
config.rs fix various typos in doc comments 2018-11-13 14:45:31 -05:00
core.rs Use a function to access the Hir map to be able to turn it into a query later 2018-12-06 17:24:36 +01:00
doctree.rs add derive macros' helper attributes to doc output 2018-09-26 13:40:08 -05:00
externalfiles.rs add Debug impls for the Options structs 2018-11-04 16:39:24 -06:00
fold.rs shuffle ownership of external_traits 2018-09-20 05:54:26 -05:00
lib.rs Various minor/cosmetic improvements to code 2018-12-07 23:53:34 +00:00
markdown.rs Various minor/cosmetic improvements to code 2018-12-07 23:53:34 +00:00
README.md rustc-guide has moved 2018-11-26 15:03:13 -06:00
test.rs Various minor/cosmetic improvements to code 2018-12-07 23:53:34 +00:00
theme.rs use top level fs functions where appropriate 2018-12-07 12:54:11 -05:00
visit_ast.rs Various minor/cosmetic improvements to code 2018-12-07 23:53:34 +00:00
visit_lib.rs Various minor/cosmetic improvements to code 2018-12-07 23:53:34 +00:00

For more information about how librustdoc works, see the rustc guide.