@@ -1365,14 +1365,15 @@ impl<'a> State<'a> {
13651365 self . print_expr_maybe_paren ( & expr, parser:: PREC_JUMP ) ;
13661366 }
13671367 }
1368- hir:: ExprKind :: InlineAsm ( ref a, ref outputs, ref inputs) => {
1368+ hir:: ExprKind :: InlineAsm ( ref a) => {
1369+ let i = & a. inner ;
13691370 self . s . word ( "asm!" ) ;
13701371 self . popen ( ) ;
1371- self . print_string ( & a . asm . as_str ( ) , a . asm_str_style ) ;
1372+ self . print_string ( & i . asm . as_str ( ) , i . asm_str_style ) ;
13721373 self . word_space ( ":" ) ;
13731374
13741375 let mut out_idx = 0 ;
1375- self . commasep ( Inconsistent , & a . outputs , |s, out| {
1376+ self . commasep ( Inconsistent , & i . outputs , |s, out| {
13761377 let constraint = out. constraint . as_str ( ) ;
13771378 let mut ch = constraint. chars ( ) ;
13781379 match ch. next ( ) {
@@ -1383,36 +1384,36 @@ impl<'a> State<'a> {
13831384 _ => s. print_string ( & constraint, ast:: StrStyle :: Cooked ) ,
13841385 }
13851386 s. popen ( ) ;
1386- s. print_expr ( & outputs [ out_idx] ) ;
1387+ s. print_expr ( & a . outputs_exprs [ out_idx] ) ;
13871388 s. pclose ( ) ;
13881389 out_idx += 1 ;
13891390 } ) ;
13901391 self . s . space ( ) ;
13911392 self . word_space ( ":" ) ;
13921393
13931394 let mut in_idx = 0 ;
1394- self . commasep ( Inconsistent , & a . inputs , |s, co| {
1395+ self . commasep ( Inconsistent , & i . inputs , |s, co| {
13951396 s. print_string ( & co. as_str ( ) , ast:: StrStyle :: Cooked ) ;
13961397 s. popen ( ) ;
1397- s. print_expr ( & inputs [ in_idx] ) ;
1398+ s. print_expr ( & a . inputs_exprs [ in_idx] ) ;
13981399 s. pclose ( ) ;
13991400 in_idx += 1 ;
14001401 } ) ;
14011402 self . s . space ( ) ;
14021403 self . word_space ( ":" ) ;
14031404
1404- self . commasep ( Inconsistent , & a . clobbers , |s, co| {
1405+ self . commasep ( Inconsistent , & i . clobbers , |s, co| {
14051406 s. print_string ( & co. as_str ( ) , ast:: StrStyle :: Cooked ) ;
14061407 } ) ;
14071408
14081409 let mut options = vec ! [ ] ;
1409- if a . volatile {
1410+ if i . volatile {
14101411 options. push ( "volatile" ) ;
14111412 }
1412- if a . alignstack {
1413+ if i . alignstack {
14131414 options. push ( "alignstack" ) ;
14141415 }
1415- if a . dialect == ast:: AsmDialect :: Intel {
1416+ if i . dialect == ast:: AsmDialect :: Intel {
14161417 options. push ( "intel" ) ;
14171418 }
14181419
0 commit comments