@@ -289,21 +289,21 @@ fn print_expr(cx: &LateContext<'_, '_>, expr: &hir::Expr<'_>, indent: usize) {
289
289
println ! ( "{}operands:" , ind) ;
290
290
for op in asm. operands {
291
291
match op {
292
- hir:: InlineAsmOperand :: In { expr, .. } => print_expr ( cx, expr, indent + 1 ) ,
292
+ hir:: InlineAsmOperand :: In { expr, .. }
293
+ | hir:: InlineAsmOperand :: InOut { expr, .. }
294
+ | hir:: InlineAsmOperand :: Const { expr }
295
+ | hir:: InlineAsmOperand :: Sym { expr } => print_expr ( cx, expr, indent + 1 ) ,
293
296
hir:: InlineAsmOperand :: Out { expr, .. } => {
294
297
if let Some ( expr) = expr {
295
298
print_expr ( cx, expr, indent + 1 ) ;
296
299
}
297
300
} ,
298
- hir:: InlineAsmOperand :: InOut { expr, .. } => print_expr ( cx, expr, indent + 1 ) ,
299
301
hir:: InlineAsmOperand :: SplitInOut { in_expr, out_expr, .. } => {
300
302
print_expr ( cx, in_expr, indent + 1 ) ;
301
303
if let Some ( out_expr) = out_expr {
302
304
print_expr ( cx, out_expr, indent + 1 ) ;
303
305
}
304
306
} ,
305
- hir:: InlineAsmOperand :: Const { expr } => print_expr ( cx, expr, indent + 1 ) ,
306
- hir:: InlineAsmOperand :: Sym { expr } => print_expr ( cx, expr, indent + 1 ) ,
307
307
}
308
308
}
309
309
} ,
0 commit comments