rust/src/librustdoc
Matthias Krüger fec32358b5
Rollup merge of #120702 - bvanjoi:fix-120444, r=notriddle
docs: also check the inline stmt during redundant link check

Fixes #120444

This issue was brought about by querying `root::webdavfs::A`, a key that doesn't exist in `doc_link_resolutions`. To avoid a panic, I've altered the gating mechanism to allow this lint pass to be skipped.

I'm not certain if this is the best solution. An alternative approach might be to leverage other info from the name resolutions instead of `doc_link_resolutions`. After all, all we need is to get the resolution from a combination of `(module, name)`. However, I believe they would yield the same outcome, both skipping this lint.
2024-02-08 09:06:35 +01:00
..
clean docs: also check the inline stmt during redundant link check 2024-02-07 15:43:32 +08:00
doctest pass unused_extern_crates in librustdoc::doctest::make_test 2023-04-25 17:20:58 +03:00
formats rustdoc: Move AssocItemRender and RenderMode to html::render. 2023-11-29 00:56:47 +00:00
html hir: Remove fn opt_hir_id and fn opt_span 2024-02-07 09:38:24 +03:00
json Introduce const Trait (always-const trait bounds) 2023-12-27 12:51:32 +01:00
passes docs: also check the inline stmt during redundant link check 2024-02-07 15:43:32 +08:00
theme rustdoc: merge theme css into rustdoc.css 2023-09-15 07:40:17 -07:00
askama.toml Remove unneeded minus sign in jinja tags 2023-03-06 11:38:15 +01:00
Cargo.toml Update itertools to 0.11. 2023-11-22 08:13:21 +11:00
config.rs rustdoc: remove unchecked_claim_error_was_emitted call in main_args. 2024-02-07 18:57:46 +11:00
core.rs Stop using String for error codes. 2024-01-29 07:41:41 +11:00
docfs.rs remove redundant imports 2023-12-10 10:56:22 +08:00
doctest.rs Tweak error counting. 2024-01-22 10:14:01 +11:00
error.rs Remove crate visibility modifier in libs, tests 2022-05-21 00:32:47 -04:00
externalfiles.rs Shorten some error invocations. 2024-01-10 07:33:06 +11:00
fold.rs rustdoc: bind typedef inner type items to the folding system 2023-08-26 00:15:02 +02:00
lib.rs rustdoc: remove unchecked_claim_error_was_emitted call in main_args. 2024-02-07 18:57:46 +11:00
lint.rs fix some typos found scrolling through the docs 2023-12-22 18:28:19 -05:00
markdown.rs Minimize pub usage in source_map.rs. 2023-11-02 19:35:00 +11: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 rustdoc: remove unchecked_claim_error_was_emitted call in main_args. 2024-02-07 18:57:46 +11:00
theme.rs Shorten some error invocations. 2024-01-10 07:33:06 +11:00
visit.rs rustdoc: Rename clean items from typedef to type alias 2023-08-21 13:56:22 -07:00
visit_ast.rs Rename Session::span_diagnostic as Session::dcx. 2023-12-18 16:06:21 +11:00
visit_lib.rs Correctly handle --document-hidden-items 2023-07-14 17:25:09 +02:00

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