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
bare-urls.rs
bare-urls.stderr
check-attr.rs
check-attr.stderr
check-fail.rs
check-fail.stderr
check.rs
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
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
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 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
no-crate-level-doc-lint.stderr
no-redundancy.rs
redundant_explicit_links-utf8.rs
redundant_explicit_links.fixed
redundant_explicit_links.rs
redundant_explicit_links.stderr
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