Skip to content

Commit ba3248d

Browse files
committed
---
yaml --- r: 36527 b: refs/heads/try2 c: c19c24d h: refs/heads/master i: 36525: eaf8acd 36523: 6322c37 36519: de972cb 36511: e0777a3 v: v3
1 parent 31d68da commit ba3248d

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
55
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8-
refs/heads/try2: 1088006ed9a66f7bf7f4d4768b60b8bf165c160e
8+
refs/heads/try2: c19c24d193780bf889b62fe71770dfb3fbbae73f
99
refs/heads/incoming: d9317a174e434d4c99fc1a37fd7dc0d2f5328d37
1010
refs/heads/dist-snap: 22efa39382d41b084fde1719df7ae8ce5697d8c9
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try2/src/test/run-pass/class-dtor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ struct cat {
55

66
impl cat : Drop {
77
fn finalize(&self) {
8-
self.done(self.meows);
8+
(self.done)(self.meows);
99
}
1010
}
1111

branches/try2/src/test/run-pass/issue-2633.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ type kitty_info = {kitty: cat};
1212

1313
// Code compiles and runs successfully if we add a + before the first arg
1414
fn nyan(kitty: cat, _kitty_info: kitty_info) {
15-
kitty.meow();
15+
(kitty.meow)();
1616
}
1717

1818
fn main() {

branches/try2/src/test/run-pass/newtype.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@ fn compute(i: mytype) -> int { return i.val + 20; }
44

55
fn main() {
66
let myval = mytype({compute: compute, val: 30});
7-
assert (myval.compute(myval) == 50);
7+
assert ((myval.compute)(myval) == 50);
88
}

branches/try2/src/test/run-pass/regions-copy-closure.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ fn main() {
1010
let mut i = 3;
1111
let cl_box = box_it(|| i += 1);
1212
assert i == 3;
13-
cl_box.cl();
13+
(cl_box.cl)();
1414
assert i == 4;
1515
}

branches/try2/src/test/run-pass/regions-static-closure.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ fn box_it(+x: &r/fn()) -> closure_box/&r {
77
}
88

99
fn call_static_closure(cl: closure_box/&static) {
10-
cl.cl();
10+
(cl.cl)();
1111
}
1212

1313
fn main() {

branches/try2/src/test/run-pass/resource-generic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ struct finish<T: Copy> {
77

88
impl<T: Copy> finish<T> : Drop {
99
fn finalize(&self) {
10-
self.arg.fin(self.arg.val);
10+
(self.arg.fin)(self.arg.val);
1111
}
1212
}
1313

0 commit comments

Comments
 (0)