diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-03-01 22:36:47 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-03-01 22:36:47 +0000 |
commit | b71fc18abe6e9572a3ca3ae18597fe05121095af (patch) | |
tree | 8d6624c9efe2626f52bec77a0513ee6335e76498 /LICENSE-MIT | |
parent | ea67e2346e64a1a14206e6d0f163c6c2e19d0afb (diff) | |
parent | f5efa17515a543c1405ecad2caf93ed25052500e (diff) |
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 <[email protected]>
Diffstat (limited to 'LICENSE-MIT')
0 files changed, 0 insertions, 0 deletions