rust/tests/rustdoc-ui/lints
Esteban Küber cc9631a371 When displaying multispans, ignore empty lines adjacent to ...
```
error[E0308]: `match` arms have incompatible types
   --> tests/ui/codemap_tests/huge_multispan_highlight.rs:98:18
    |
6   |       let _ = match true {
    |               ---------- `match` arms have incompatible types
7   |           true => (
    |  _________________-
8   | |             // last line shown in multispan header
...   |
96  | |
97  | |         ),
    | |_________- this is found to be of type `()`
98  |           false => "
    |  __________________^
...   |
119 | |
120 | |         ",
    | |_________^ expected `()`, found `&str`

error[E0308]: `match` arms have incompatible types
   --> tests/ui/codemap_tests/huge_multispan_highlight.rs:215:18
    |
122 |       let _ = match true {
    |               ---------- `match` arms have incompatible types
123 |           true => (
    |  _________________-
124 | |
125 | |         1 // last line shown in multispan header
...   |
213 | |
214 | |         ),
    | |_________- this is found to be of type `{integer}`
215 |           false => "
    |  __________________^
216 | |
217 | |
218 | |         1 last line shown in multispan
...   |
237 | |
238 | |         ",
    | |_________^ expected integer, found `&str`
```
2024-03-18 16:25:36 +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
check-attr.rs Add a test for a codeblock with multiple invalid attributes 2023-12-12 19:41:09 +01:00
check-attr.stderr Add a test for a codeblock with multiple invalid attributes 2023-12-12 19:41:09 +01: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 Follow guidelines for lint suggestions 2023-12-12 15:43:20 +01:00
check.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
check.stderr When displaying multispans, ignore empty lines adjacent to ... 2024-03-18 16:25:36 +00:00
deny-missing-docs-crate.rs
deny-missing-docs-crate.stderr
deny-missing-docs-macro.rs
deny-missing-docs-macro.stderr Bless rustdoc-ui tests 2023-11-24 19:15:52 +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
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
doc-without-codeblock.stderr
expect-tool-lint-rfc-2383.rs [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00:00
expect-tool-lint-rfc-2383.stderr remove illegal_floating_point_literal_pattern lint 2024-01-26 17:25:02 +01: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 Bless tests 2024-01-13 12:46:58 -05: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
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 [AUTO_GENERATED] Migrate compiletest to use ui_test-style //@ directives 2024-02-22 16:04:04 +00: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 Support Reference & ReferenceUnknown link lint 2023-08-18 15:19:16 +08:00
renamed-lint-still-applies.rs
renamed-lint-still-applies.stderr
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
unknown-renamed-lints.stderr
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