rust/tests/rustdoc-ui/lints
Esteban Küber f0845adb0c Show diff suggestion format on verbose replacement
```
error[E0610]: `{integer}` is a primitive type and therefore doesn't have fields
  --> $DIR/attempted-access-non-fatal.rs:7:15
   |
LL |     let _ = 2.l;
   |               ^
   |
help: if intended to be a floating point literal, consider adding a `0` after the period and a `f64` suffix
   |
LL -     let _ = 2.l;
LL +     let _ = 2.0f64;
   |
```
2025-02-10 20:21:39 +00:00
..
bare-urls.fixed [AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives 2024-02-22 16:04:04 +00:00
bare-urls.rs [AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives 2024-02-22 16:04:04 +00:00
bare-urls.stderr Adjust rustdoc automatic link suggestion 2024-07-04 00:40:04 +00:00
check-attr.rs Add a test for a codeblock with multiple invalid attributes 2023-12-12 19:41:09 +01:00
check-attr.stderr Account for `///` when rendering multiline spans 2024-12-13 18:48:33 +00:00
check-fail.rs [AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives 2024-02-22 16:04:04 +00:00
check-fail.stderr Account for `///` when rendering multiline spans 2024-12-13 18:48:33 +00:00
check.rs Remove the `-test` suffix from normalize directives 2024-12-27 19:58:16 +11:00
check.stderr Filter empty lines, comments and delimiters from previous to last multiline span rendering 2024-12-12 23:36:27 +00:00
deny-missing-docs-crate.rs move lint tests into subdirectories 2023-04-29 11:36:19 -05:00
deny-missing-docs-crate.stderr move lint tests into subdirectories 2023-04-29 11:36:19 -05:00
deny-missing-docs-macro.rs move lint tests into subdirectories 2023-04-29 11:36:19 -05:00
deny-missing-docs-macro.stderr Bless rustdoc-ui tests 2023-11-24 19:15:52 +01:00
doc-attr.rs Update ui tests 2024-02-29 14:43:43 +01:00
doc-attr.stderr Update ui tests 2024-02-29 14:43:43 +01:00
doc-spotlight.fixed Update ui tests 2024-02-29 14:43:43 +01:00
doc-spotlight.rs Update ui tests 2024-02-29 14:43:43 +01:00
doc-spotlight.stderr Update ui tests 2024-02-29 14:43:43 +01:00
doc-without-codeblock.rs Do not emit `missing_doc_code_examples` rustdoc lint on module and a few other items 2024-11-28 21:22:06 +01:00
doc-without-codeblock.stderr Do not emit `missing_doc_code_examples` rustdoc lint on module and a few other items 2024-11-28 21:22:06 +01:00
doc_cfg_hide.rs Update ui tests 2024-02-29 14:43:43 +01:00
doc_cfg_hide.stderr Update ui tests 2024-02-29 14:43:43 +01:00
expect-tool-lint-rfc-2383.rs RFC 2383: Stabilize `lint_reasons` 🎉 2024-06-25 17:22:22 +02:00
expect-tool-lint-rfc-2383.stderr RFC 2373: Update tests for rustdoc for `lint_reasons` 2024-06-25 17:50:55 +02:00
feature-gate-rustdoc_missing_doc_code_examples.rs [AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives 2024-02-22 16:04:04 +00:00
feature-gate-rustdoc_missing_doc_code_examples.stderr Point at lint name instead of whole attr for gated lints 2024-12-18 19:27:44 +00:00
inline-doc-link.rs [AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives 2024-02-22 16:04:04 +00:00
invalid-doc-attr.rs Update ui tests 2024-02-29 14:43:43 +01:00
invalid-doc-attr.stderr Update ui tests 2024-02-29 14:43:43 +01:00
invalid-html-self-closing-tag.rs move lint tests into subdirectories 2023-04-29 11:36:19 -05:00
invalid-html-self-closing-tag.stderr move lint tests into subdirectories 2023-04-29 11:36:19 -05:00
invalid-html-tags.rs move lint tests into subdirectories 2023-04-29 11:36:19 -05:00
invalid-html-tags.stderr move lint tests into subdirectories 2023-04-29 11:36:19 -05:00
lint-group.rs move lint tests into subdirectories 2023-04-29 11:36:19 -05:00
lint-group.stderr Account for `///` when rendering multiline spans 2024-12-13 18:48:33 +00:00
lint-missing-doc-code-example.rs Do not emit `missing_doc_code_examples` rustdoc lint on module and a few other items 2024-11-28 21:22:06 +01:00
lint-missing-doc-code-example.stderr Do not emit `missing_doc_code_examples` rustdoc lint on module and a few other items 2024-11-28 21:22:06 +01:00
no-crate-level-doc-lint.rs Remove the `-test` suffix from normalize directives 2024-12-27 19:58:16 +11:00
no-crate-level-doc-lint.stderr Bless rustdoc-ui tests 2023-11-24 19:15:52 +01:00
no-redundancy.rs [AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives 2024-02-22 16:04:04 +00:00
redundant_explicit_links-utf8.rs [AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives 2024-02-22 16:04:04 +00:00
redundant_explicit_links.fixed [AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives 2024-02-22 16:04:04 +00:00
redundant_explicit_links.rs [AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives 2024-02-22 16:04:04 +00:00
redundant_explicit_links.stderr Show diff suggestion format on verbose replacement 2025-02-10 20:21:39 +00:00
renamed-lint-still-applies.rs move lint tests into subdirectories 2023-04-29 11:36:19 -05:00
renamed-lint-still-applies.stderr Adjust rustdoc automatic link suggestion 2024-07-04 00:40:04 +00:00
rustdoc-all-only-stable-lints.rs [AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives 2024-02-22 16:04:04 +00:00
unknown-renamed-lints.rs move lint tests into subdirectories 2023-04-29 11:36:19 -05:00
unknown-renamed-lints.stderr move lint tests into subdirectories 2023-04-29 11:36:19 -05:00
unused-braces-lint.rs [AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives 2024-02-22 16:04:04 +00:00
unused.rs [AUTO_GENERATED] Migrate compiletest to use `ui_test`-style `//@` directives 2024-02-22 16:04:04 +00:00