diff options
| author | Tim Chevalier <chevalier@alum.wellesley.edu> | 2011-06-10 13:39:13 -0700 |
|---|---|---|
| committer | Tim Chevalier <chevalier@alum.wellesley.edu> | 2011-06-10 14:05:06 -0700 |
| commit | e5eacf8ea9e59777d6c7d4939d91d2e96dfff838 (patch) | |
| tree | e3deec61583870d49b0e24c79d20a79d469f024c /src/rt/rust_kernel.cpp | |
| parent | f1431adb404973f2f9dbce91b3c56893935df83b (diff) | |
| download | rust-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
