rustc: Implement unary move. Closes #917.
This commit is contained in:
parent
c4bb8f8aaf
commit
c88933d714
15 changed files with 48 additions and 24 deletions
|
@ -1100,6 +1100,7 @@ fn print_expr(s: ps, &&expr: @ast::expr) {
|
|||
print_block(s, blk);
|
||||
}
|
||||
ast::expr_copy(e) { word_space(s, ~"copy"); print_expr(s, e); }
|
||||
ast::expr_unary_move(e) { word_space(s, ~"move"); print_expr(s, e); }
|
||||
ast::expr_move(lhs, rhs) {
|
||||
print_expr(s, lhs);
|
||||
space(s.s);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue