about summary refs log tree commit diff
path: root/src/test/rustdoc/intra-link-reexport-additional-docs.rs
AgeCommit message (Collapse)AuthorLines
2020-11-28Move `src/test/rustdoc` intra-doc link tests into a subdirectoryJoshua Nelson-23/+0
They were starting to get unwieldy.
2020-10-11Show summary lines on cross-crate re-exportsJoshua Nelson-2/+7
This removes the unnecessary `DocFragmentKind::Divider` in favor of just using the logic I actually want in `collapse_docs`.
2020-10-08Use the new module information for intra-doc linksJoshua Nelson-0/+18
- Make the parent module conditional on whether the docs are on a re-export - Make `resolve_link` take `&Item` instead of `&mut Item` Previously the borrow checker gave an error about multiple mutable borrows, because `dox` borrowed from `item`. - Fix `crate::` for re-exports `crate` means something different depending on where the attribute came from. - Make it work for `#[doc]` attributes too This required combining several attributes as one so they would keep the links.