rust/src/librustdoc
Guillaume Gomez de6c639228
Rollup merge of #144970 - lolbinarycat:rustdoc-macro-wrong-link-144965, r=GuillaumeGomez
rustdoc: fix caching of intra-doc links on reexports

previously two reexports of the same item would share a set of intra-doc links, which would cause problems if they had two different links with the same text.  this was fixed by using the reexport defid as the key, if it is available.

fixes https://github.com/rust-lang/rust/issues/144965
2025-08-06 21:29:31 +02:00
..
clean rustdoc: fix caching of intra-doc links on reexports 2025-08-05 15:34:51 -05:00
doctest Display total time and compilation time of merged doctests 2025-07-24 11:06:28 +02:00
formats remove rustc_attr_data_structures 2025-07-31 14:19:27 +02:00
html Rollup merge of #144913 - GuillaumeGomez:fix-wrong-i-icon, r=fmease 2025-08-06 15:55:45 +02:00
json Rollup merge of #144700 - aDotInTheVoid:macro-rules-for-macro-fools, r=GuillaumeGomez 2025-08-01 00:38:20 -04:00
passes rustdoc: fix caching of intra-doc links on reexports 2025-08-05 15:34:51 -05:00
theme rustdoc: merge theme css into rustdoc.css 2023-09-15 07:40:17 -07:00
askama.toml Update to new rinja version (askama) 2025-04-03 15:38:08 +02:00
build.rs Auto merge of #136253 - notriddle:notriddle/aot-minify, r=GuillaumeGomez 2025-02-05 18:28:16 +00:00
Cargo.toml librustdoc: use tidy for sorting attrs and deps 2025-06-28 19:25:35 +00:00
config.rs Rollup merge of #144600 - Noratrieb:rustdoc-dep-info-paths, r=GuillaumeGomez 2025-07-29 20:19:52 +10:00
core.rs rustdoc: save target modifiers 2025-07-27 05:21:47 +02:00
display.rs x clippy src/librustdoc --fix 2025-03-06 16:06:41 +00:00
docfs.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
doctest.rs Fix CI build failure when using new libtest public constant 2025-07-31 10:45:18 +02:00
error.rs Fix clippy lints 2024-08-29 12:14:41 +02:00
externalfiles.rs Ensure external paths passed via flags end up in rustdoc depinfo 2025-07-28 20:53:01 +02:00
fold.rs Rename TyMethodItem -> RequiredMethodItem 2024-12-19 10:48:51 -08:00
lib.rs remove rustc_attr_data_structures 2025-07-31 14:19:27 +02:00
lint.rs rustdoc: remove unportable markdown lint and old parser 2025-05-06 10:33:04 -07:00
markdown.rs Lazy-ify some markdown rendering 2025-06-29 12:41:16 +00:00
README.md
scrape_examples.rs Ensure external paths passed via flags end up in rustdoc depinfo 2025-07-28 20:53:01 +02:00
theme.rs Fix new clippy lints 2024-11-28 03:05:43 +01:00
visit.rs Rename TyMethodItem -> RequiredMethodItem 2024-12-19 10:48:51 -08:00
visit_ast.rs Retire hir::ForeignItemRef. 2025-07-13 13:50:00 +00:00
visit_lib.rs librustdoc: flatten nested ifs 2025-03-06 08:16:28 +00:00

For more information about how librustdoc works, see the rustc dev guide.