rust/tests/rustdoc-ui/lints
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
..
bare-urls-limit.rs rustdoc: improve diagnostics on raw doc fragments 2025-05-22 12:31:28 -05:00
bare-urls-limit.stderr rustdoc: improve diagnostics on raw doc fragments 2025-05-22 12:31:28 -05:00
bare-urls.fixed rustdoc: improve diagnostics on raw doc fragments 2025-05-22 12:31:28 -05:00
bare-urls.rs rustdoc: improve diagnostics on raw doc fragments 2025-05-22 12:31:28 -05:00
bare-urls.stderr rustdoc: improve diagnostics on raw doc fragments 2025-05-22 12:31:28 -05:00
check-attr.rs
check-attr.stderr
check-fail.rs
check-fail.stderr
check.rs compiletest: Support matching on diagnostics without a span 2025-03-25 17:33:09 +03:00
check.stderr
deny-missing-docs-crate.rs
deny-missing-docs-crate.stderr
deny-missing-docs-macro.rs
deny-missing-docs-macro.stderr
doc-attr.rs
doc-attr.stderr
doc-spotlight.fixed
doc-spotlight.rs
doc-spotlight.stderr
doc-without-codeblock.rs
doc-without-codeblock.stderr
doc_cfg_hide.rs
doc_cfg_hide.stderr
expect-tool-lint-rfc-2383.rs
expect-tool-lint-rfc-2383.stderr
feature-gate-rustdoc_missing_doc_code_examples.rs
feature-gate-rustdoc_missing_doc_code_examples.stderr
inline-doc-link.rs
invalid-doc-attr.rs
invalid-doc-attr.stderr
invalid-html-self-closing-tag.rs
invalid-html-self-closing-tag.stderr
invalid-html-tags.rs
invalid-html-tags.stderr
lint-group.rs
lint-group.stderr
lint-missing-doc-code-example.rs
lint-missing-doc-code-example.stderr
no-crate-level-doc-lint.rs compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
no-crate-level-doc-lint.stderr compiletest: Require //~ annotations even if error-pattern is specified 2025-04-03 11:08:55 +03:00
no-redundancy.rs
redundant_explicit_links-utf8.rs
redundant_explicit_links.fixed
redundant_explicit_links.rs
redundant_explicit_links.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
renamed-lint-still-applies.rs
renamed-lint-still-applies.stderr
rustdoc-all-only-stable-lints.rs
unknown-renamed-lints.rs
unknown-renamed-lints.stderr
unused-braces-lint.rs
unused.rs