mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 11:34:11 +00:00
cc9631a371
``` 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` ``` |
||
---|---|---|
.. | ||
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 | ||
deny-missing-docs-crate.rs | ||
deny-missing-docs-crate.stderr | ||
deny-missing-docs-macro.rs | ||
deny-missing-docs-macro.stderr | ||
doc_cfg_hide.rs | ||
doc_cfg_hide.stderr | ||
doc-attr.rs | ||
doc-attr.stderr | ||
doc-spotlight.fixed | ||
doc-spotlight.rs | ||
doc-spotlight.stderr | ||
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 | ||
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 | ||
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 |