Skip to content

Commit 13ba8b7

Browse files
committed
---
yaml --- r: 5499 b: refs/heads/master c: 122f714 h: refs/heads/master i: 5497: 2a9990a 5495: 36ba25e v: v3
1 parent 338c2fa commit 13ba8b7

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 27972a6def95c6d03372a30faa97d6c7f9332079
2+
refs/heads/master: 122f714fdefe325471049b434730a9020b4fff34

trunk/src/comp/syntax/visit.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ fn visit_pat<E>(p: @pat, e: E, v: vt<E>) {
172172
}
173173
pat_tup(elts) { for elt in elts { v.visit_pat(elt, e, v); } }
174174
pat_box(inner) { v.visit_pat(inner, e, v); }
175+
pat_uniq(inner) { v.visit_pat(inner, e, v); }
175176
_ { }
176177
}
177178
}

trunk/src/test/run-pass/alt-implicit-copy-unique.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// xfail-test
21
fn main() {
32
let x = ~{mutable a: ~10, b: ~20};
43
alt x {

trunk/src/test/run-pass/unique-pat-2.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
// xfail-test
2-
31
type foo = {a: int, b: uint};
42
tag bar { u(~foo); w(int); }
53

0 commit comments

Comments
 (0)