Skip to content

Conversation

@adamrk
Copy link
Contributor

@adamrk adamrk commented Jun 25, 2020

Resolves #4830

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

@flodiebold
Copy link
Member

bors r+

@bors
Copy link
Contributor

bors bot commented Jun 26, 2020

@bors bors bot merged commit 3f2a596 into rust-lang:master Jun 26, 2020
@adamrk adamrk deleted the infer-slice-wildcard-type branch September 29, 2020 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No type inference for subslices in slice patterns

2 participants