Michael Goulet
b2d2184ede
Format all the let chains in compiler
2023-10-13 08:59:36 +00:00
Alex Macleod
caaf1eb887
Reuse rustdoc's doc comment handling in Clippy
2023-09-08 23:42:57 +00:00
Kyle Lin
ecb26376e5
narrow down the lint trigger constraint
2023-08-18 15:19:22 +08:00
Kyle Lin
78c85f439f
fomar files
2023-08-18 15:19:19 +08:00
Kyle Lin
5ce6cc7df3
Still resolving rustdoc resolution panicking
2023-08-18 15:19:17 +08:00
Kyle Lin
65e24a57bb
Fix resolution caching
2023-08-18 15:19:10 +08:00
Michael Howell
df8a48fc8a
rustdoc: fix ICE from rustc_resolve and librustdoc parse divergence
2023-04-18 12:22:13 -07:00
Guillaume Gomez
f6035fb0fa
Update doc(primitive) in rustc_resolve
2023-03-31 00:04:24 +02:00
Vadim Petrochenkov
bec4eab3f9
rustdoc: Skip doc link resolution for non-exported items
2023-03-23 16:19:59 +04:00
Vadim Petrochenkov
d3a5541939
rustdoc: Cleanup parent module tracking for doc links
...
Keep ids of the documented items themselves, not their parent modules.
Parent modules can be retreived from those ids when necessary.
2023-03-21 17:36:57 +04:00
Michael Howell
49d995a4cf
rustdoc: reduce allocations when generating tooltips
...
An attempt to reduce the perf regression in
https://github.com/rust-lang/rust/pull/108052#issuecomment-1430631861
2023-02-22 21:00:10 -07:00
Guillaume Gomez
bd63edc07a
Rollup merge of #108129 - 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-19 14:47:55 +01:00
Guillaume Gomez
fd62036caa
Correctly handle if a link starts with a whitespace
2023-02-18 23:24:58 +01:00
Vadim Petrochenkov
97e73eea84
doc links: Filter away autolinks in both rustc and rustdoc
2023-02-18 15:15:57 +04:00
Vadim Petrochenkov
ccdb598d1b
rustdoc: Cleanup broken link callbacks
2023-02-18 14:45:01 +04:00
Matthias Krüger
0400c68517
use chars instead of strings where applicable
2023-02-15 22:54:57 +01:00
Vadim Petrochenkov
3b0866272a
Stop resolving doc links on mod
items twice
2023-02-10 09:34:13 +04:00
Vadim Petrochenkov
b62b82aef4
Resolve documentation links in rustc and store the results in metadata
...
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.
2023-02-10 09:34:13 +04:00