aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_mbe/src/tt_cursor.rs
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_mbe/src/tt_cursor.rs
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_mbe/src/tt_cursor.rs')
0 files changed, 0 insertions, 0 deletions