@@ -1365,14 +1365,15 @@ impl<'a> State<'a> {
1365
1365
self . print_expr_maybe_paren ( & expr, parser:: PREC_JUMP ) ;
1366
1366
}
1367
1367
}
1368
- hir:: ExprKind :: InlineAsm ( ref a, ref outputs, ref inputs) => {
1368
+ hir:: ExprKind :: InlineAsm ( ref a) => {
1369
+ let i = & a. inner ;
1369
1370
self . s . word ( "asm!" ) ;
1370
1371
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 ) ;
1372
1373
self . word_space ( ":" ) ;
1373
1374
1374
1375
let mut out_idx = 0 ;
1375
- self . commasep ( Inconsistent , & a . outputs , |s, out| {
1376
+ self . commasep ( Inconsistent , & i . outputs , |s, out| {
1376
1377
let constraint = out. constraint . as_str ( ) ;
1377
1378
let mut ch = constraint. chars ( ) ;
1378
1379
match ch. next ( ) {
@@ -1383,36 +1384,36 @@ impl<'a> State<'a> {
1383
1384
_ => s. print_string ( & constraint, ast:: StrStyle :: Cooked ) ,
1384
1385
}
1385
1386
s. popen ( ) ;
1386
- s. print_expr ( & outputs [ out_idx] ) ;
1387
+ s. print_expr ( & a . outputs_exprs [ out_idx] ) ;
1387
1388
s. pclose ( ) ;
1388
1389
out_idx += 1 ;
1389
1390
} ) ;
1390
1391
self . s . space ( ) ;
1391
1392
self . word_space ( ":" ) ;
1392
1393
1393
1394
let mut in_idx = 0 ;
1394
- self . commasep ( Inconsistent , & a . inputs , |s, co| {
1395
+ self . commasep ( Inconsistent , & i . inputs , |s, co| {
1395
1396
s. print_string ( & co. as_str ( ) , ast:: StrStyle :: Cooked ) ;
1396
1397
s. popen ( ) ;
1397
- s. print_expr ( & inputs [ in_idx] ) ;
1398
+ s. print_expr ( & a . inputs_exprs [ in_idx] ) ;
1398
1399
s. pclose ( ) ;
1399
1400
in_idx += 1 ;
1400
1401
} ) ;
1401
1402
self . s . space ( ) ;
1402
1403
self . word_space ( ":" ) ;
1403
1404
1404
- self . commasep ( Inconsistent , & a . clobbers , |s, co| {
1405
+ self . commasep ( Inconsistent , & i . clobbers , |s, co| {
1405
1406
s. print_string ( & co. as_str ( ) , ast:: StrStyle :: Cooked ) ;
1406
1407
} ) ;
1407
1408
1408
1409
let mut options = vec ! [ ] ;
1409
- if a . volatile {
1410
+ if i . volatile {
1410
1411
options. push ( "volatile" ) ;
1411
1412
}
1412
- if a . alignstack {
1413
+ if i . alignstack {
1413
1414
options. push ( "alignstack" ) ;
1414
1415
}
1415
- if a . dialect == ast:: AsmDialect :: Intel {
1416
+ if i . dialect == ast:: AsmDialect :: Intel {
1416
1417
options. push ( "intel" ) ;
1417
1418
}
1418
1419
0 commit comments