aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_ide_api/src/completion/snapshots
diff options
context:
space:
mode:
authorMichael Killough <[email protected]>2019-03-16 18:13:13 +0000
committerMichael Killough <[email protected]>2019-03-16 18:13:13 +0000
commitb42c5ced68c019108e079dc01d0bd29606efc10c (patch)
tree340dd45df03b6841103cad9e3980dfe261f8b4e7 /crates/ra_ide_api/src/completion/snapshots
parent97a87bf3a68338b1acc2b7a02dfa43096bf47e05 (diff)
Implement BindingMode for pattern matching.
Implement `BindingMode` for pattern matching, so that types can be correctly inferred using match ergonomics. The binding mode defaults to `Move` (referred to as 'BindingMode::BindByValue` in rustc), and is updated by automatic dereferencing of the value being matched.
Diffstat (limited to 'crates/ra_ide_api/src/completion/snapshots')
0 files changed, 0 insertions, 0 deletions