rust-analyzer/crates
bors c864953c0f Auto merge of #16583 - Veykril:unknown-mismatch, r=Veykril
fix: Don't show type mismatches for `{unknown}` to non-`{unknown}` mismatches

Fixes https://github.com/rust-lang/rust-analyzer/issues/15704

Basically we zip the two types, inspecting their substitutions if the constructors are the same, if we encounter a zip step with an `{unknown}` on one side and a non-`{unknown}` on the other we error out and discard the diagnostic. Otherwise we keep it.
2024-02-16 12:01:33 +00:00
..
base-db feat: ignored and disabled macro expansion 2024-02-12 12:50:40 +01:00
cfg Merge commit '7219414e81810fd4d967136c4a0650523892c157' into sync-from-ra 2024-01-28 15:56:54 +02:00
flycheck fix: Set RUSTUP_TOOLCHAIN and invoke the proxies instead of directly invoking sysroot binaries 2024-02-14 15:13:45 +01:00
hir Cleanup term search related changes 2024-02-11 14:35:54 +02:00
hir-def fix: Respect textual length of paths in find-path 2024-02-16 10:54:54 +01:00
hir-expand fix: Respect textual length of paths in find-path 2024-02-16 10:54:54 +01:00
hir-ty fix: Don't show type mismatches for {unknown} to non-{unknown} mismatches 2024-02-16 12:16:43 +01:00
ide Set documentation field in SCIP from doc comment 2024-02-14 14:46:32 -08:00
ide-assists Migrate generate_trait_from_impl to mutable ast 2024-02-15 21:34:29 -05:00
ide-completion Auto merge of #16544 - dfireBird:impl_trait_completion, r=Veykril 2024-02-13 16:38:35 +00:00
ide-db Remove SourceChangeBuilder::{insert,remove}_snippet 2024-02-15 21:34:29 -05:00
ide-diagnostics fix "needless return" for trailing item declarations 2024-02-15 20:07:58 +03:00
ide-ssr ide-ssr: Fix warnings about clippy str_to_string rule 2024-02-10 01:00:40 +09:00
intern Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
limit Lint debug prints and disallowed types with clippy 2024-02-01 17:57:27 +01:00
load-cargo fix: Pass .cargo/config.toml env vars to proc-macro server 2024-02-13 19:42:03 +01:00
mbe fix: Fix macro transcriber emitting incorrect lifetime tokens 2024-02-11 12:10:38 +01:00
parser Add support for become expr/tail calls 2024-02-14 14:57:18 +00:00
paths Merge commit '426d2842c1f0e5cc5e34bb37c7ac3ee0945f9746' into sync-from-ra2 2024-01-03 11:35:07 +02:00
proc-macro-api fix: Pass .cargo/config.toml env vars to proc-macro server 2024-02-13 19:42:03 +01:00
proc-macro-srv fix: Validate literals in proc-macro-srv FreeFunctions::literal_from_str 2024-02-13 12:33:51 +01:00
proc-macro-srv-cli Merge commit '0113bc9388b480fa42c632f57f4f0f7af5813ec1' into sync-from-ra 2024-02-04 10:37:58 +02:00
profile Merge commit '0113bc9388b480fa42c632f57f4f0f7af5813ec1' into sync-from-ra 2024-02-04 10:37:58 +02:00
project-model Auto merge of #16247 - Veykril:opqueues, r=Veykril 2024-02-14 14:33:16 +00:00
rust-analyzer Auto merge of #16573 - Veykril:salsa-doc-tests, r=Veykril 2024-02-15 16:29:39 +00:00
salsa Remove salsa doc compile tests 2024-02-15 17:28:24 +01:00
sourcegen sourcegen: Fix warnings about clippy str_to_string rule 2024-02-10 01:00:40 +09:00
span internal: Remove SELF_REF hack for self referential SyntaxContexts 2024-02-10 16:20:02 +01:00
stdx Merge commit '0113bc9388b480fa42c632f57f4f0f7af5813ec1' into sync-from-ra 2024-02-04 10:37:58 +02:00
syntax Migrate generate_trait_from_impl to mutable ast 2024-02-15 21:34:29 -05:00
test-fixture Encode disabled proc-macros via boolean flag, not special Expander 2024-02-12 13:39:38 +01:00
test-utils Cleanup term search related changes 2024-02-11 14:35:54 +02:00
text-edit text-edit: Fix warnings about clippy str_to_string rule 2024-02-10 01:00:41 +09:00
toolchain internal: tool discovery prefers sysroot tools 2024-02-12 12:08:18 +01:00
tt fix: Fix macro transcriber emitting incorrect lifetime tokens 2024-02-11 12:10:38 +01:00
vfs vfs: Fix warnings about clippy str_to_string rule 2024-02-10 01:00:40 +09:00
vfs-notify Merge commit 'a9116523604c998e7781f60d3b5a6f586e0414a9' into sync-from-ra 2024-01-21 16:53:06 +02:00