Skip to content

Commit 471d2b1

Browse files
committed
Inline asm exprs should be RvalueStmtExpr.
1 parent 4ad9e5c commit 471d2b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/middle/ty.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3102,7 +3102,6 @@ pub fn expr_kind(tcx: ctxt,
31023102
ast::expr_block(*) |
31033103
ast::expr_copy(*) |
31043104
ast::expr_repeat(*) |
3105-
ast::expr_inline_asm(*) |
31063105
ast::expr_lit(@codemap::spanned {node: lit_str(_), _}) |
31073106
ast::expr_vstore(_, ast::expr_vstore_slice) |
31083107
ast::expr_vstore(_, ast::expr_vstore_mut_slice) |
@@ -3145,6 +3144,7 @@ pub fn expr_kind(tcx: ctxt,
31453144
ast::expr_loop(*) |
31463145
ast::expr_assign(*) |
31473146
ast::expr_swap(*) |
3147+
ast::expr_inline_asm(*) |
31483148
ast::expr_assign_op(*) => {
31493149
RvalueStmtExpr
31503150
}

0 commit comments

Comments
 (0)