aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/test_data/accidentally_quadratic
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-04-13 16:20:17 +0100
committerGitHub <[email protected]>2020-04-13 16:20:17 +0100
commitd075f49e6d342737c8eb81bd5448503bdc33bd79 (patch)
tree2616cbd7be4a0b8f29a6a6d8f977f8817cc24ce9 /crates/ra_syntax/test_data/accidentally_quadratic
parentc388130f5ffbcbe7d3131213a24d12d02f769b87 (diff)
parentee822d19b7662a9055bc6693c4c40d8dcf752ea1 (diff)
Merge #3960
3960: ellipsis in tuple patterns r=JoshMcguigan a=JoshMcguigan This PR lowers ellipsis in tuple patterns. It fixes a bug in the way ellipsis were previously lowered (by replacing the ellipsis with a single `Pat::Wild` no matter how many items the `..` was taking the place of). It also uses this new information to properly handle `..` in tuple struct patterns when perform match statement exhaustiveness checks. While this PR provides the building blocks for match statement exhaustiveness checks for tuples, there are some additional challenges there, so that is still unimplemented (unlike tuple structs). Co-authored-by: Josh Mcguigan <[email protected]>
Diffstat (limited to 'crates/ra_syntax/test_data/accidentally_quadratic')
0 files changed, 0 insertions, 0 deletions