about summary refs log tree commit diff
path: root/src/libsyntax/parse
diff options
context:
space:
mode:
authorEdward Wang <edward.yu.wang@gmail.com>2014-02-24 07:02:27 +0800
committerAlex Crichton <alex@alexcrichton.com>2014-02-24 21:22:27 -0800
commit4690ab0ea84d4381ddca724a51e4a36760149fde (patch)
treefa76dfce79b393ffbdb9579236e3a653eab52f6f /src/libsyntax/parse
parent6757053cffb585249105fbd76f83a2fe7501219b (diff)
downloadrust-4690ab0ea84d4381ddca724a51e4a36760149fde.tar.gz
rust-4690ab0ea84d4381ddca724a51e4a36760149fde.zip
Match binding is assignment
In its first pass, namely gather_loans, the borrow checker tracks the
initialization sites among other things it does. It does so for let
bindings with initializers but not for bindings in match arms, which are
effectively also assignments. This patch does that for borrow checker.

Closes #12452.
Diffstat (limited to 'src/libsyntax/parse')
0 files changed, 0 insertions, 0 deletions