File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
branches/try/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 2
2
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
4
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5
- refs/heads/try: f2a60a6b0206297326b190a0421a9685d2b5e7ab
5
+ refs/heads/try: a61f107684c4e5f316d7446c02f58f35b12dbffb
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
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