about summary refs log tree commit diff
path: root/compiler/rustc_resolve/src/rustdoc.rs
AgeCommit message (Collapse)AuthorLines
2023-12-15NFC don't convert types to identical typesMatthias Krüger-2/+1
2023-11-21Fix `clippy::needless_borrow` in the compilerNilstrieb-1/+1
`x clippy compiler -Aclippy::all -Wclippy::needless_borrow --fix`. Then I had to remove a few unnecessary parens and muts that were exposed now.
2023-10-13Format all the let chains in compilerMichael Goulet-1/+3
2023-09-08Reuse rustdoc's doc comment handling in ClippyAlex Macleod-1/+88
2023-08-18narrow down the lint trigger constraintKyle Lin-6/+13
2023-08-18fomar filesKyle Lin-1/+8
2023-08-18Still resolving rustdoc resolution panickingKyle Lin-2/+4
2023-08-18Fix resolution cachingKyle Lin-8/+49
2023-04-18rustdoc: fix ICE from rustc_resolve and librustdoc parse divergenceMichael Howell-0/+1
2023-03-31Update doc(primitive) in rustc_resolveGuillaume Gomez-3/+5
2023-03-23rustdoc: Skip doc link resolution for non-exported itemsVadim Petrochenkov-1/+15
2023-03-21rustdoc: Cleanup parent module tracking for doc linksVadim Petrochenkov-8/+10
Keep ids of the documented items themselves, not their parent modules. Parent modules can be retreived from those ids when necessary.
2023-02-22rustdoc: reduce allocations when generating tooltipsMichael Howell-6/+10
An attempt to reduce the perf regression in https://github.com/rust-lang/rust/pull/108052#issuecomment-1430631861
2023-02-19Rollup merge of #108129 - ↵Guillaume Gomez-0/+1
GuillaumeGomez:correctly-handle-links-starting-with-whitespace, r=petrochenkov Correctly handle links starting with whitespace Part of https://github.com/rust-lang/rust/issues/107995. I just got this issue, wrote a fix and then saw the issue. So here's the PR. ^^' r? `@petrochenkov`
2023-02-18Correctly handle if a link starts with a whitespaceGuillaume Gomez-0/+1
2023-02-18doc links: Filter away autolinks in both rustc and rustdocVadim Petrochenkov-2/+19
2023-02-18rustdoc: Cleanup broken link callbacksVadim Petrochenkov-13/+10
2023-02-15use chars instead of strings where applicableMatthias Krüger-1/+1
2023-02-10Stop resolving doc links on `mod` items twiceVadim Petrochenkov-0/+8
2023-02-10Resolve documentation links in rustc and store the results in metadataVadim Petrochenkov-0/+361
This commit implements MCP https://github.com/rust-lang/compiler-team/issues/584 It also removes code that is no longer used, and that includes code cloning resolver, so issue #83761 is fixed.