about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-12-20 12:05:23 +0000
committerGitHub <noreply@github.com>2021-12-20 12:05:23 +0000
commit48d6cef43691d6c65f495f66c5a4d3ef3a618f7b (patch)
tree82d8f3fd2c89482d0214a22411566cc8bad82b2b /src/test/codegen/src-hash-algorithm
parent2ca3834c9f15027fa68a0d0f70f7abf75a26d750 (diff)
parenta9ad7be748d4bd146f05ae4dd9cbb0acb9431440 (diff)
downloadrust-48d6cef43691d6c65f495f66c5a4d3ef3a618f7b.tar.gz
rust-48d6cef43691d6c65f495f66c5a4d3ef3a618f7b.zip
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>
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions