1
Fork 0

Inline asm exprs should be RvalueStmtExpr.

This commit is contained in:
Luqman Aden 2013-03-12 16:40:59 -07:00 committed by Luqman Aden
parent 4ad9e5c0c2
commit 471d2b1765

View file

@ -3102,7 +3102,6 @@ pub fn expr_kind(tcx: ctxt,
ast::expr_block(*) |
ast::expr_copy(*) |
ast::expr_repeat(*) |
ast::expr_inline_asm(*) |
ast::expr_lit(@codemap::spanned {node: lit_str(_), _}) |
ast::expr_vstore(_, ast::expr_vstore_slice) |
ast::expr_vstore(_, ast::expr_vstore_mut_slice) |
@ -3145,6 +3144,7 @@ pub fn expr_kind(tcx: ctxt,
ast::expr_loop(*) |
ast::expr_assign(*) |
ast::expr_swap(*) |
ast::expr_inline_asm(*) |
ast::expr_assign_op(*) => {
RvalueStmtExpr
}