aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/resolver.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-03-01 22:36:47 +0000
committerGitHub <[email protected]>2020-03-01 22:36:47 +0000
commitb71fc18abe6e9572a3ca3ae18597fe05121095af (patch)
tree8d6624c9efe2626f52bec77a0513ee6335e76498 /crates/ra_hir_def/src/resolver.rs
parentea67e2346e64a1a14206e6d0f163c6c2e19d0afb (diff)
parentf5efa17515a543c1405ecad2caf93ed25052500e (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 'crates/ra_hir_def/src/resolver.rs')
0 files changed, 0 insertions, 0 deletions