Skip to content

Commit e849a7c

Browse files
committed
---
yaml --- r: 31686 b: refs/heads/dist-snap c: 793c0a1 h: refs/heads/master v: v3
1 parent 234e3ae commit e849a7c

File tree

5 files changed

+8
-10
lines changed

5 files changed

+8
-10
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: d0c6ce338884ee21843f4b40bf6bf18d222ce5df
99
refs/heads/incoming: d9317a174e434d4c99fc1a37fd7dc0d2f5328d37
10-
refs/heads/dist-snap: 6a7c714df665ea943da79f96071dd4a1069ec93d
10+
refs/heads/dist-snap: 793c0a1116af40d8a84941525f148a3d785c3f0c
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503

branches/dist-snap/src/test/auxiliary/issue_2242_a.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
#[crate_type = "lib"];
33

44
trait to_str {
5-
fn to_str() -> str;
5+
fn to_str() -> ~str;
66
}
77

8-
impl of to_str for str {
9-
fn to_str() -> str { self }
8+
impl of to_str for ~str {
9+
fn to_str() -> ~str { self }
1010
}

branches/dist-snap/src/test/auxiliary/issue_2242_b.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ use a;
55
import a::to_str;
66

77
impl of to_str for int {
8-
fn to_str() -> str { fmt!{"%?", self} }
8+
fn to_str() -> ~str { fmt!{"%?", self} }
99
}

branches/dist-snap/src/test/auxiliary/issue_2242_c.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ use a;
66
import a::to_str;
77

88
impl of to_str for bool {
9-
fn to_str() -> str { fmt!{"%b", self} }
9+
fn to_str() -> ~str { fmt!{"%b", self} }
1010
}
Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
// xfail-test
21
// aux-build:issue_2242_a.rs
32
// aux-build:issue_2242_b.rs
43
// aux-build:issue_2242_c.rs
@@ -7,11 +6,10 @@ use a;
76
use b;
87
use c;
98

10-
import b::to_str;
11-
import c::to_str;
9+
import a::to_str;
1210

1311
fn main() {
14-
io::println("foo".to_str());
12+
io::println((~"foo").to_str());
1513
io::println(1.to_str());
1614
io::println(true.to_str());
1715
}

0 commit comments

Comments
 (0)