File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
trunk/src/librustsyntax/print Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- refs/heads/master: f2a60a6b0206297326b190a0421a9685d2b5e7ab
2
+ refs/heads/master: a61f107684c4e5f316d7446c02f58f35b12dbffb
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
5
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf
Original file line number Diff line number Diff line change @@ -1368,6 +1368,10 @@ fn print_fn_block_args(s: ps, decl: ast::fn_decl) {
1368
1368
ibox ( s, indent_unit) ;
1369
1369
print_arg_mode ( s, x. mode ) ;
1370
1370
word ( s. s , x. ident ) ;
1371
+ if x. ty . node != ast:: ty_infer {
1372
+ word_space ( s, ":" ) ;
1373
+ print_type ( s, x. ty ) ;
1374
+ }
1371
1375
end ( s) ;
1372
1376
}
1373
1377
commasep ( s, inconsistent, decl. inputs , print_arg) ;
You can’t perform that action at this time.
0 commit comments