Skip to content

Commit 5986c90

Browse files
committed
---
yaml --- r: 15606 b: refs/heads/try c: a61f107 h: refs/heads/master v: v3
1 parent 93b4f9b commit 5986c90

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
refs/heads/master: 61b1875c16de39c166b0f4d54bba19f9c6777d1a
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
5-
refs/heads/try: f2a60a6b0206297326b190a0421a9685d2b5e7ab
5+
refs/heads/try: a61f107684c4e5f316d7446c02f58f35b12dbffb
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/try/src/librustsyntax/print/pprust.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1368,6 +1368,10 @@ fn print_fn_block_args(s: ps, decl: ast::fn_decl) {
13681368
ibox(s, indent_unit);
13691369
print_arg_mode(s, x.mode);
13701370
word(s.s, x.ident);
1371+
if x.ty.node != ast::ty_infer {
1372+
word_space(s, ":");
1373+
print_type(s, x.ty);
1374+
}
13711375
end(s);
13721376
}
13731377
commasep(s, inconsistent, decl.inputs, print_arg);

0 commit comments

Comments
 (0)