diff options
author | Michael Killough <[email protected]> | 2019-03-16 18:13:13 +0000 |
---|---|---|
committer | Michael Killough <[email protected]> | 2019-03-16 18:13:13 +0000 |
commit | b42c5ced68c019108e079dc01d0bd29606efc10c (patch) | |
tree | 340dd45df03b6841103cad9e3980dfe261f8b4e7 /crates/ra_syntax/src/ast/generated.rs.tera | |
parent | 97a87bf3a68338b1acc2b7a02dfa43096bf47e05 (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_syntax/src/ast/generated.rs.tera')
0 files changed, 0 insertions, 0 deletions