bors[bot] 48d6cef436
Merge #10484
10484: internal: Update match checking algorithm r=lnicola a=iDawer

Sync match checking algorithm with rust-lang/rust f31622a50 2021-11-12 (https://github.com/rust-lang/rust/pull/90813)

This update brings huge simplification to the match checking and introduces an easy to use machinery for pattern destructuring and also:

1. Add a function to do post-inference normalization `hir_ty::infer::normalize(...)`.
2. Store binding modes in `InferenceResult`.

Todo:

- [x] Rebase & test (https://github.com/rust-analyzer/rust-analyzer/pull/10484#issuecomment-996669665)

Co-authored-by: Dawer <7803845+iDawer@users.noreply.github.com>
Co-authored-by: iDawer <ilnur.iskhakov.oss@outlook.com>
2021-12-20 12:05:23 +00:00
..
2021-11-30 14:07:39 +00:00
2021-12-19 18:58:39 +02:00
2021-12-17 17:46:42 +00:00
2021-12-11 14:49:29 +00:00
2021-12-20 09:14:38 +00:00
2021-12-18 17:59:29 +00:00
2021-12-18 17:59:29 +00:00
2021-12-19 19:00:42 +02:00
2021-12-19 19:00:42 +02:00
2021-12-04 15:14:31 +02:00
2021-12-10 20:01:24 +01:00
2021-12-17 17:46:20 +02:00