about summary refs log tree commit diff
path: root/src/rt/rust_run_program.cpp
diff options
context:
space:
mode:
authorMarijn Haverbeke <marijnh@gmail.com>2011-08-02 11:44:00 +0200
committerMarijn Haverbeke <marijnh@gmail.com>2011-08-02 12:09:15 +0200
commitf8fa574864a5bd54752fc198438f8c53a8ed5ef0 (patch)
tree01662bfbc8d189801822dc5b35fa88bb9f465c53 /src/rt/rust_run_program.cpp
parent043d95a2bdc6a344f1bfc7800b0ed719dbb6c7aa (diff)
downloadrust-f8fa574864a5bd54752fc198438f8c53a8ed5ef0.tar.gz
rust-f8fa574864a5bd54752fc198438f8c53a8ed5ef0.zip
Copy locals created by destructuring on the content of a box
This is required so that assigning to these locals doesn't clobber
the content of the box.

(A possible optimization would be to only do this copying for
locals that actually are assigned to.)
Diffstat (limited to 'src/rt/rust_run_program.cpp')
0 files changed, 0 insertions, 0 deletions