1
Fork 0
rust/src/librustdoc/clean
Andy Russell 56413ecffc
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.
2018-12-10 21:08:26 -05:00
..
auto_trait.rs Various minor/cosmetic improvements to code 2018-12-07 23:53:34 +00:00
blanket_impl.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
cfg.rs Various minor/cosmetic improvements to code 2018-12-07 23:53:34 +00:00
def_ctor.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
inline.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
mod.rs fix intra-link resolution spans in block comments 2018-12-10 21:08:26 -05:00
simplify.rs Various minor/cosmetic improvements to code 2018-12-07 23:53:34 +00:00