bors[bot] b71fc18abe
Merge #3387
3387: Type inference for slice patterns r=flodiebold a=JoshMcguigan

Fixes #3043 

Notes to reviewer:

1. This only works if `expected` is `Ty::Apply`. I'm not sure of the implications of this.
1. This only works if the slice pattern only has a prefix. I think this means it doesn't work for subslice patterns, which are currently only available behind a feature flag.

Co-authored-by: Josh Mcguigan <joshmcg88@gmail.com>
2020-03-01 22:36:47 +00:00
..
2020-02-27 14:04:13 +09:00
2020-02-18 16:12:40 +02:00
2020-03-01 13:36:44 +00:00
2020-02-18 16:12:40 +02:00
2020-03-01 13:36:44 +00:00
2020-02-29 13:51:23 +01:00
2020-02-27 14:04:13 +09:00
2020-02-29 23:24:50 +01:00
2020-02-27 14:04:13 +09:00
2020-02-18 16:12:40 +02:00
2020-02-27 10:06:48 +08:00