Skip to content

Commit 7f8a50e

Browse files
committed
---
yaml --- r: 14839 b: refs/heads/try c: c988800 h: refs/heads/master i: 14837: a2dbabc 14835: 63d9232 14831: 2012b5e v: v3
1 parent a6807a8 commit 7f8a50e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
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: ffa187db252a7ee8765025f95d2cae18859258be
5+
refs/heads/try: c988800cf5611130e468761caa4d2f5adbdc6781
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105

branches/try/src/rustc/syntax/visit.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,9 @@ fn visit_pat<E>(p: @pat, e: E, v: vt<E>) {
220220
visit_path(path, e, v);
221221
option::may(inner, {|subpat| v.visit_pat(subpat, e, v)});
222222
}
223-
_ { }
223+
pat_lit(ex) { v.visit_expr(ex, e, v); }
224+
pat_range(e1, e2) { v.visit_expr(e1, e, v); v.visit_expr(e2, e, v); }
225+
pat_wild {}
224226
}
225227
}
226228

0 commit comments

Comments
 (0)