diff options
| author | bors <bors@rust-lang.org> | 2022-05-23 10:38:19 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2022-05-23 10:38:19 +0000 |
| commit | 238253c22d34e035c92e5b667ec31bd96691f97b (patch) | |
| tree | f616962e81138f2ae0b9c807f95d6ca0a5199482 /src/test/codegen/src-hash-algorithm | |
| parent | c626034f11506a8f64c42c56edf41bea107fb210 (diff) | |
| parent | 86bb27f1a4029ebf7d487add52b1dc2132c154d9 (diff) | |
| download | rust-238253c22d34e035c92e5b667ec31bd96691f97b.tar.gz rust-238253c22d34e035c92e5b667ec31bd96691f97b.zip | |
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
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions
