Skip to content

Commit 3602c02

Browse files
committed
---
yaml --- r: 12876 b: refs/heads/master c: 2539792 h: refs/heads/master v: v3
1 parent 797d29d commit 3602c02

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: b79d717c9127492073696f40c589ca805ac12e58
2+
refs/heads/master: 253979236e00a391fdce12943fd21b5e8c4656b1
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/src/rustc/driver/driver.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,10 @@ fn pretty_print_input(sess: session, cfg: ast::crate_cfg, input: input,
276276
pprust::synth_comment(s, int::to_str(expr.id, 10u));
277277
pprust::pclose(s);
278278
}
279-
_ { }
279+
pprust::node_pat(s, pat) {
280+
pp::space(s.s);
281+
pprust::synth_comment(s, "pat " + int::to_str(pat.id, 10u));
282+
}
280283
}
281284
}
282285

0 commit comments

Comments
 (0)