]> git.lizzy.rs Git - rust.git/commit
Merge #6618
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>
Tue, 24 Nov 2020 15:13:25 +0000 (15:13 +0000)
committerGitHub <noreply@github.com>
Tue, 24 Nov 2020 15:13:25 +0000 (15:13 +0000)
commit67d45851bf2257f6f255fb6863163a6836816cff
tree4624bd445774dd7a6eb1cf12ccfac9f105948c81
parentf7e63bdf916ed168dd676f44a2c59feb4f5ff131
parenta5efefd3d788a6c5a7fb6a56a0da32f9bf62584e
Merge #6618

6618: Properly infer tuple patterns when encountering ellipsis r=Veykril a=Veykril

We basically just split the subpatterns into two halves when the ellipsis is present and then offset the latter half to account for the ignored bindings.

Fixes #6616

Co-authored-by: Lukas Wirth <lukastw97@gmail.com>