]> git.lizzy.rs Git - rust.git/commit
Merge #5066
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Fri, 26 Jun 2020 08:52:22 +0000 (08:52 +0000)
committerGitHub <noreply@github.com>
Fri, 26 Jun 2020 08:52:22 +0000 (08:52 +0000)
commit3f2a596b9bfefdc43621bdafab520dbd814ac959
treeaa4f6ba3deecbbbe89b3c6c7e5a84075ab10235d
parent5f0889642401ac3da7be29b8122d04dbf65b1292
parent0ebc24043bb267cf77ddd6c1d8b7d5ad9f82444d
Merge #5066

5066: Infer type for slice wildcard patterns r=flodiebold a=adamrk

Resolves https://github.com/rust-analyzer/rust-analyzer/issues/4830

The issue is just that we were never inferring the type for the wildcard `..` in slice patterns.

Co-authored-by: adamrk <ark.email@gmail.com>