rust-analyzer/crates
bors 238253c22d Auto merge of #12355 - ruabmbua:fix-inference-pattern-wildcards, r=flodiebold
Fix inference when pattern matching a tuple field with a wildcard

This should fix the following issue:  https://github.com/rust-lang/rust-analyzer/issues/12331

* Replaced the `err_ty` in `infer_pat()` with a new type variable.
* Had to change the iterator code a bit, to get around multiple mutable borrows of `self` in `infer_pat()`.
Also added a test
* Also added a test
2022-05-23 10:38:19 +00:00
..
base-db minor: Simplify 2022-05-20 16:52:10 +02:00
cfg minor: Bump dependencies 2022-03-22 17:42:24 +01:00
flycheck internal: Show more project building errors to the user 2022-04-14 11:31:01 +02:00
hir Teach Callable about closures properly 2022-05-19 18:53:08 +02:00
hir-def Auto merge of #12328 - Veykril:simplify, r=Veykril 2022-05-20 15:03:59 +00:00
hir-expand minor: Simplify 2022-05-20 16:52:10 +02:00
hir-ty Fix inference when pattern matching a tuple field with a wildcard. 2022-05-23 12:24:54 +02:00
ide Auto merge of #12345 - bvanjoi:escape_format_spcifier, r=Veykril 2022-05-22 10:41:31 +00:00
ide-assists Pull text creation into the closure 2022-05-22 18:38:14 +02:00
ide-completion fix: Fix incorrect expected type in completions for match arms 2022-05-19 12:33:25 +02:00
ide-db feat: escape format specifier(close: #12258) 2022-05-22 15:32:24 +08:00
ide-diagnostics Auto merge of #12010 - Veykril:r-a-config, r=Veykril 2022-05-10 12:07:24 +00:00
ide-ssr internal: Remove unqualified_path completions module 2022-05-05 22:21:42 +02:00
limit Use compare_exchange_weak in limit::Limit::check 2022-01-28 18:19:35 +03:00
mbe Revert "Auto merge of #12149 - jonas-schievink:literally-just-a-literal, r=jonas-schievink" 2022-05-13 15:08:14 +02:00
parser Revert "Auto merge of #12149 - jonas-schievink:literally-just-a-literal, r=jonas-schievink" 2022-05-13 15:08:14 +02:00
paths Bump MSRV (1.57) 2021-12-16 01:56:12 +05:00
proc-macro-api style: rename crates to kebab case 2022-05-01 10:48:58 +00:00
proc-macro-srv style: rename crates to kebab case 2022-05-01 10:48:58 +00:00
proc-macro-test delete a generated swap file 2022-05-01 10:48:58 +00:00
profile internal: vendor lsp-server 2022-05-14 21:15:43 +01:00
project-model Don't swallow build script errors 2022-05-20 17:28:39 +02:00
rust-analyzer Keep the other is in reload.rs docs 2022-05-23 10:29:03 +02:00
sourcegen Bump xshell and fix dist 2022-03-17 08:53:33 +02:00
stdx minor: Bump dependencies 2022-03-22 17:42:24 +01:00
syntax feat: Add binding mode inlay hints 2022-05-14 14:58:35 +02:00
test-utils style: rename crates to kebab case 2022-05-01 10:48:58 +00:00
text-edit style: rename crates to kebab case 2022-05-01 10:48:58 +00:00
toolchain Bump MSRV (1.57) 2021-12-16 01:56:12 +05:00
tt minor: Bump dependencies 2022-03-22 17:42:24 +01:00
vfs minor: Bump dependencies 2022-03-22 17:42:24 +01:00
vfs-notify Fix build on OpenBSD (and probably other BSDs too) 2022-05-22 17:04:57 -04:00