-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove intra doc link items if they are private/hidden and the matching option is not enabled #130278
Remove intra doc link items if they are private/hidden and the matching option is not enabled #130278
Conversation
This comment has been minimized.
This comment has been minimized.
e0cf6ca
to
90a6e01
Compare
This comment has been minimized.
This comment has been minimized.
90a6e01
to
e1dd08f
Compare
This comment has been minimized.
This comment has been minimized.
e1dd08f
to
c1ec733
Compare
This comment has been minimized.
This comment has been minimized.
c1ec733
to
c7e2628
Compare
This comment has been minimized.
This comment has been minimized.
c7e2628
to
3044e5d
Compare
This comment has been minimized.
This comment has been minimized.
Some more investigations about how to add this check: I need to have |
…notriddle [rustdoc] Remove intra-doc links dead code While working on rust-lang#130278, I wondered what `resolve_display_text` was doing. I removed it and ran all rustdoc tests, and nothing failed. Are some intra-doc links tests missing or is it really dead code? Couldn't figure it out. r? `@notriddle`
…nup, r=notriddle Remove unneeded argument of `LinkCollector::verify_disambiguator` Still working on rust-lang#130278. ^^' r? `@notriddle`
3044e5d
to
caf905e
Compare
Some changes occurred in src/librustdoc/clean/types.rs cc @camelid |
caf905e
to
e9ea3a9
Compare
Implemented the approach I described above. Hopefully should fix all issues now. :) |
This comment has been minimized.
This comment has been minimized.
Rollup merge of rust-lang#131408 - GuillaumeGomez:more-intra-doc-cleanup, r=notriddle Remove unneeded argument of `LinkCollector::verify_disambiguator` Still working on rust-lang#130278. ^^' r? `@notriddle`
07da6fe
to
353f3fa
Compare
Ignored the rustc lint. I also realized that in case there were still unresolved intra-doc links, I wasn't emitting an error. It's now fixed with two new ui tests to ensure it. :) |
This comment has been minimized.
This comment has been minimized.
353f3fa
to
759c771
Compare
The job Click to see the possible cause of the failure (guessed by this bot)
|
[rustdoc] Remove intra-doc links dead code While working on rust-lang/rust#130278, I wondered what `resolve_display_text` was doing. I removed it and ran all rustdoc tests, and nothing failed. Are some intra-doc links tests missing or is it really dead code? Couldn't figure it out. r? `@notriddle`
Closing in favor of #131691. |
…er-out-2, r=notriddle Delay ambiguous intra-doc link resolution after `Cache` has been populated Fixes rust-lang#130233. I was getting nowhere with rust-lang#130278. I took a wrong turn at some point and ended making way too many changes so instead I started again back from 0 and this time it worked out as expected. r? `@notriddle`
…er-out-2, r=notriddle Delay ambiguous intra-doc link resolution after `Cache` has been populated Fixes rust-lang#130233. I was getting nowhere with rust-lang#130278. I took a wrong turn at some point and ended making way too many changes so instead I started again back from 0 and this time it worked out as expected. r? ``@notriddle``
…er-out-2, r=notriddle Delay ambiguous intra-doc link resolution after `Cache` has been populated Fixes rust-lang#130233. I was getting nowhere with rust-lang#130278. I took a wrong turn at some point and ended making way too many changes so instead I started again back from 0 and this time it worked out as expected. r? ```@notriddle```
Rollup merge of rust-lang#131691 - GuillaumeGomez:intra-doc-link-filter-out-2, r=notriddle Delay ambiguous intra-doc link resolution after `Cache` has been populated Fixes rust-lang#130233. I was getting nowhere with rust-lang#130278. I took a wrong turn at some point and ended making way too many changes so instead I started again back from 0 and this time it worked out as expected. r? ```@notriddle```
Fixes #130233.
Since such items cannot be linked to, there is no point in keeping them as candidates.
r? @notriddle