about summary refs log tree commit diff
path: root/src/rt/rust_kernel.cpp
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2011-06-10 13:39:13 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2011-06-10 14:05:06 -0700
commite5eacf8ea9e59777d6c7d4939d91d2e96dfff838 (patch)
treee3deec61583870d49b0e24c79d20a79d469f024c /src/rt/rust_kernel.cpp
parentf1431adb404973f2f9dbce91b3c56893935df83b (diff)
downloadrust-e5eacf8ea9e59777d6c7d4939d91d2e96dfff838.tar.gz
rust-e5eacf8ea9e59777d6c7d4939d91d2e96dfff838.zip
Use RHS type when translating assignments
In code like "auto foo = fail", a type gets inferred for foo
depending on how it's used. However, fail still has type _|_ and
still should be treated that way: particularly, its value shouldn't
be copied. Fixed trans to reflect that.
Diffstat (limited to 'src/rt/rust_kernel.cpp')
0 files changed, 0 insertions, 0 deletions