diff options
| author | James Miller <james@aatch.net> | 2016-04-16 19:45:28 +1200 |
|---|---|---|
| committer | James Miller <james@aatch.net> | 2016-04-28 13:18:51 +1200 |
| commit | 89edd96be86fd65d63f63a208062c8baf86e7d7c (patch) | |
| tree | a61f2553ec431a3d3b594d98ae95c9828b32eee5 /src/libsyntax | |
| parent | 869172305f66ba11565c90f9276328c479d5b082 (diff) | |
| download | rust-89edd96be86fd65d63f63a208062c8baf86e7d7c.tar.gz rust-89edd96be86fd65d63f63a208062c8baf86e7d7c.zip | |
Fix translation of `Assign`/`AssignOp` as rvalues
In code like `let x = y = z;`, `y = z` goes through `as_rvalue`, which didn't handle it. Now it translates the assignment and produces `()` directly.
Diffstat (limited to 'src/libsyntax')
0 files changed, 0 insertions, 0 deletions
