Guillaume Gomez
8fe5b56b66
Rollup merge of #109104 - GuillaumeGomez:fix-invalid-suggestion-ambiguous-intra-doc2, r=oli-obk,notriddle
...
rustdoc: Fix invalid suggestions on ambiguous intra doc links v2
Fixes https://github.com/rust-lang/rust/issues/108653 .
This is another approach to fixing the same issue. This time, we keep the computed information around instead of re-computing it.
Strangely enough, the order for ambiguities seem to have been changed. Not an issue but it creates a lot of diff...
So which version do you prefer?
r? `@notriddle`
2023-03-31 22:32:48 +02:00
Guillaume Gomez
415a3ca909
Put back is_derive_trait_collision
check
2023-03-24 16:10:31 +01:00
Guillaume Gomez
ec43cb3e9c
Update UI tests for primitive type ambiguity error renaming
2023-03-24 14:50:12 +01:00
Guillaume Gomez
c78ebab258
Add regression tests for #108653
2023-03-24 13:41:21 +01: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
Vadim Petrochenkov
5e0fc0459e
rustdoc: Correctly merge import's and its target's docs in one more case
2023-03-17 18:46:27 +04:00
Oli Scherer
37e2f4f487
Make configure_and_expand
"infalllible" by just aborting the compilation if it fails instead of bubbling out an error
2023-02-20 15:28:59 +00:00
Dylan DPC
4a0f088f7c
Rollup merge of #107951 - petrochenkov:procmacdoc, r=jackh726
...
resolve: Fix doc links referring to other crates when documenting proc macro crates directly
Fixes https://github.com/rust-lang/rust/issues/107950
2023-02-19 13:03:41 +05:30
Vadim Petrochenkov
ccdb598d1b
rustdoc: Cleanup broken link callbacks
2023-02-18 14:45:01 +04:00
Vadim Petrochenkov
efbf6547cf
resolve: Fix doc links referring to other crates when documenting proc macro crates directly
2023-02-13 00:51:29 +04:00
clubby789
ef8de38c84
rustdoc: Don't resolve link to field on different variant
2023-02-11 12:28:35 +00:00
Albert Larsan
cf2dff2b1e
Move /src/test to /tests
2023-01-11 09:32:08 +00:00