rust/src/librustdoc
binarycat 3005a09fed rustdoc: improve diagnostics on raw doc fragments
1. rustdoc::bare_urls doesn't output
   invalid suggestions if source_span_for_markdown_range
   fails to find a span

2. source_span_for_markdown_range tries harder to
   return a span by applying an additional diagnostic

fixes https://github.com/rust-lang/rust/issues/135851
2025-05-22 12:31:28 -05:00
..
clean Remove Ident::empty. 2025-05-09 13:57:49 +10:00
doctest Rollup merge of #139863 - fmease:simp-doctest-build-arg-passing, r=GuillaumeGomez 2025-05-09 21:50:06 +02:00
formats librustdoc: remove IndexItem::new, use previous fields constructor 2025-04-09 20:51:52 +08:00
html rustdoc: use a different style of grip track 2025-05-09 12:56:38 -07:00
json Make rustdoc JSON Span column 1-based, just like line numbers 2025-04-18 20:32:40 +02:00
passes rustdoc: improve diagnostics on raw doc fragments 2025-05-22 12:31:28 -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 rustdoc: remove unportable markdown lint and old parser 2025-05-06 10:33:04 -07:00
config.rs Rollup merge of #139863 - fmease:simp-doctest-build-arg-passing, r=GuillaumeGomez 2025-05-09 21:50:06 +02:00
core.rs Rollup merge of #139615 - nnethercote:rm-name_or_empty, r=jdonszelmann 2025-04-18 05:16:29 +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 Rollup merge of #139863 - fmease:simp-doctest-build-arg-passing, r=GuillaumeGomez 2025-05-09 21:50:06 +02:00
error.rs Fix clippy lints 2024-08-29 12:14:41 +02:00
externalfiles.rs Reformat use declarations. 2024-07-29 08:26:52 +10:00
fold.rs Rename TyMethodItem -> RequiredMethodItem 2024-12-19 10:48:51 -08:00
lib.rs Rollup merge of #140815 - yaahc:rustdoc-metrics, r=GuillaumeGomez 2025-05-09 21:50:06 +02:00
lint.rs rustdoc: remove unportable markdown lint and old parser 2025-05-06 10:33:04 -07:00
markdown.rs rustdoc: Document markdown module. 2024-10-19 13:37:40 +00:00
README.md rust-lang.github.io/rustc-dev-guide -> rustc-dev-guide.rust-lang.org 2020-03-10 17:08:18 -03:00
scrape_examples.rs Move methods from Map to TyCtxt, part 5. 2025-04-02 10:00:46 +11: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 Move hir::Item::ident into hir::ItemKind. 2025-03-18 06:29:50 +11: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.