Skip to content

Commit 5fbbc99

Browse files
pnkfelixnikomatsakis
authored andcommitted
---
yaml --- r: 172247 b: refs/heads/beta c: a0f53b0 h: refs/heads/master i: 172245: 47d1aec 172243: d820655 172239: bd1921d v: v3
1 parent aa23e22 commit 5fbbc99

File tree

28 files changed

+88
-88
lines changed

28 files changed

+88
-88
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ refs/heads/automation-fail: 1bf06495443584539b958873e04cc2f864ab10e4
3131
refs/heads/issue-18208-method-dispatch-3-quick-reject: 2009f85b9f99dedcec4404418eda9ddba90258a2
3232
refs/heads/batch: b5571ed71a5879c0495a982506258d5d267744ed
3333
refs/heads/building: 126db549b038c84269a1e4fe46f051b2c15d6970
34-
refs/heads/beta: b2e93e276773edaa497989064181cbc706c4ecc1
34+
refs/heads/beta: a0f53b0a5b5a2e0320689885ee606ea4b61f4c56
3535
refs/heads/windistfix: 7608dbad651f02e837ed05eef3d74a6662a6e928

branches/beta/src/test/run-make/graphviz-flowgraph/f01.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
// except according to those terms.
1010

1111
pub fn lit_1() {
12-
1i;
12+
1is;
1313
}

branches/beta/src/test/run-make/graphviz-flowgraph/f02.dot-expected.dot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ digraph block {
22
N0[label="entry"];
33
N1[label="exit"];
44
N2[label="local _x"];
5-
N3[label="stmt let _x: int;"];
6-
N4[label="block { let _x: int; }"];
5+
N3[label="stmt let _x: isize;"];
6+
N4[label="block { let _x: isize; }"];
77
N0 -> N2;
88
N2 -> N3;
99
N3 -> N4;

branches/beta/src/test/run-make/graphviz-flowgraph/f02.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
// except according to those terms.
1010

1111
pub fn decl_x_2() {
12-
let _x : int;
12+
let _x : isize;
1313
}

branches/beta/src/test/run-make/graphviz-flowgraph/f03.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
// except according to those terms.
1010

1111
pub fn expr_add_3() {
12-
3i + 4;
12+
3is + 4;
1313
}

branches/beta/src/test/run-make/graphviz-flowgraph/f04.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
// except according to those terms.
1010

1111
pub fn pat_id_4() {
12-
let _x = 4i;
12+
let _x = 4is;
1313
}

branches/beta/src/test/run-make/graphviz-flowgraph/f05.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
// except according to those terms.
1010

1111
pub fn pat_tup_5() {
12-
let (_x, _y) = (5i, 55i);
12+
let (_x, _y) = (5is, 55is);
1313
}

branches/beta/src/test/run-make/graphviz-flowgraph/f06.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
struct S6 { val: int }
11+
struct S6 { val: isize }
1212
pub fn pat_struct_6() {
1313
let S6 { val: _x } = S6{ val: 6 };
1414
}

branches/beta/src/test/run-make/graphviz-flowgraph/f07.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// except according to those terms.
1010

1111
pub fn pat_vec_7() {
12-
match [7i, 77i, 777i, 7777i] {
12+
match [7is, 77is, 777is, 7777is] {
1313
[x, y, ..] => x + y
1414
};
1515
}

branches/beta/src/test/run-make/graphviz-flowgraph/f08.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
// except according to those terms.
1010

1111
pub fn expr_if_onearm_8() {
12-
let x = 8i; let _y;
13-
if x > 88i {
14-
_y = 888i;
12+
let x = 8is; let _y;
13+
if x > 88is {
14+
_y = 888is;
1515
}
1616
}

branches/beta/src/test/run-make/graphviz-flowgraph/f10.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
// except according to those terms.
1010

1111
pub fn expr_while_10() {
12-
let mut x = 10i;
13-
while x > 0i {
14-
x -= 1i;
12+
let mut x = 10is;
13+
while x > 0is {
14+
x -= 1is;
1515
}
1616
}

branches/beta/src/test/run-make/graphviz-flowgraph/f11.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010

1111
#[allow(unreachable_code)]
1212
pub fn expr_loop_11() {
13-
let mut _x = 11i;
13+
let mut _x = 11is;
1414
loop {
15-
_x -= 1i;
15+
_x -= 1is;
1616
}
1717
"unreachable";
1818
}

branches/beta/src/test/run-make/graphviz-flowgraph/f12.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010

1111
#[allow(unreachable_code)]
1212
pub fn expr_loop_12() {
13-
let mut x = 12i;
13+
let mut x = 12is;
1414
loop {
15-
x -= 1i;
16-
if x == 2i { break; "unreachable"; }
15+
x -= 1is;
16+
if x == 2is { break; "unreachable"; }
1717
}
1818
}

branches/beta/src/test/run-make/graphviz-flowgraph/f13.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
enum E13 { E13a, E13b(int) }
11+
enum E13 { E13a, E13b(isize) }
1212
pub fn expr_match_13() {
1313
let x = E13::E13b(13); let _y;
1414
match x {

branches/beta/src/test/run-make/graphviz-flowgraph/f14.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010

1111
#[allow(unreachable_code)]
1212
pub fn expr_ret_14() {
13-
let x = 14i;
14-
if x > 1i {
13+
let x = 14is;
14+
if x > 1is {
1515
return;
1616
"unreachable";
1717
}

branches/beta/src/test/run-make/graphviz-flowgraph/f15.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@
1010

1111
#[allow(unreachable_code)]
1212
pub fn expr_break_label_15() {
13-
let mut x = 15i;
14-
let mut y = 151i;
13+
let mut x = 15is;
14+
let mut y = 151is;
1515
'outer: loop {
1616
'inner: loop {
17-
if x == 1i {
17+
if x == 1is {
1818
break 'outer;
1919
"unreachable";
2020
}
21-
if y >= 2i {
21+
if y >= 2is {
2222
break;
2323
"unreachable";
2424
}
25-
y -= 3i;
25+
y -= 3is;
2626
}
27-
y -= 4i;
28-
x -= 5i;
27+
y -= 4is;
28+
x -= 5is;
2929
}
3030
}

branches/beta/src/test/run-make/graphviz-flowgraph/f16.rs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,22 @@
1010

1111
#[allow(unreachable_code)]
1212
pub fn expr_continue_label_16() {
13-
let mut x = 16i;
14-
let mut y = 16i;
13+
let mut x = 16is;
14+
let mut y = 16is;
1515
'outer: loop {
1616
'inner: loop {
17-
if x == 1i {
17+
if x == 1is {
1818
continue 'outer;
1919
"unreachable";
2020
}
21-
if y >= 1i {
21+
if y >= 1is {
2222
break;
2323
"unreachable";
2424
}
25-
y -= 1i;
25+
y -= 1is;
2626
}
27-
y -= 1i;
28-
x -= 1i;
27+
y -= 1is;
28+
x -= 1is;
2929
}
3030
"unreachable";
3131
}

branches/beta/src/test/run-make/graphviz-flowgraph/f17.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@
99
// except according to those terms.
1010

1111
pub fn expr_vec_17() {
12-
let _v = [1i, 7i, 17i];
12+
let _v = [1is, 7is, 17is];
1313
}

branches/beta/src/test/run-make/graphviz-flowgraph/f18.dot-expected.dot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
digraph block {
22
N0[label="entry"];
33
N1[label="exit"];
4-
N2[label="stmt fn inner(x: int) -> int { x + x }"];
4+
N2[label="stmt fn inner(x: isize) -> isize { x + x }"];
55
N3[label="expr inner"];
66
N4[label="expr inner"];
77
N5[label="expr 18"];
88
N6[label="expr inner(18)"];
99
N7[label="expr inner(inner(18))"];
1010
N8[label="stmt inner(inner(18));"];
11-
N9[label="block {\l fn inner(x: int) -> int { x + x }\l inner(inner(18));\l}\l"];
11+
N9[label="block {\l fn inner(x: isize) -> isize { x + x }\l inner(inner(18));\l}\l"];
1212
N0 -> N2;
1313
N2 -> N3;
1414
N3 -> N4;

branches/beta/src/test/run-make/graphviz-flowgraph/f18.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
// except according to those terms.
1010

1111
pub fn expr_call_18() {
12-
fn inner(x:int) -> int { x + x }
12+
fn inner(x:isize) -> isize { x + x }
1313
inner(inner(18));
1414
}

branches/beta/src/test/run-make/graphviz-flowgraph/f19.dot-expected.dot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
digraph block {
22
N0[label="entry"];
33
N1[label="exit"];
4-
N2[label="stmt struct S19 {\l x: int,\l}\l"];
4+
N2[label="stmt struct S19 {\l x: isize,\l}\l"];
55
N3[label="stmt impl S19 {\l fn inner(self) -> S19 { S19{x: self.x + self.x,} }\l}\l"];
66
N4[label="expr 19"];
77
N5[label="expr S19{x: 19,}"];
@@ -11,7 +11,7 @@ digraph block {
1111
N9[label="expr s.inner()"];
1212
N10[label="expr s.inner().inner()"];
1313
N11[label="stmt s.inner().inner();"];
14-
N12[label="block {\l struct S19 {\l x: int,\l }\l impl S19 {\l fn inner(self) -> S19 { S19{x: self.x + self.x,} }\l }\l let s = S19{x: 19,};\l s.inner().inner();\l}\l"];
14+
N12[label="block {\l struct S19 {\l x: isize,\l }\l impl S19 {\l fn inner(self) -> S19 { S19{x: self.x + self.x,} }\l }\l let s = S19{x: 19,};\l s.inner().inner();\l}\l"];
1515
N0 -> N2;
1616
N2 -> N3;
1717
N3 -> N4;

branches/beta/src/test/run-make/graphviz-flowgraph/f19.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
// except according to those terms.
1010

1111
pub fn expr_method_call_19() {
12-
struct S19 { x: int }
12+
struct S19 { x: isize }
1313
impl S19 { fn inner(self) -> S19 { S19 { x: self.x + self.x } } }
1414
let s = S19 { x: 19 };
1515
s.inner().inner();

branches/beta/src/test/run-make/graphviz-flowgraph/f20.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@
99
// except according to those terms.
1010

1111
pub fn expr_index_20() {
12-
let v = [2u, 0u, 20u];
13-
v[20u];
12+
let v = [2us, 0us, 20us];
13+
v[20us];
1414
}

branches/beta/src/test/run-make/graphviz-flowgraph/f21.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@
1010

1111
#[allow(unreachable_code)]
1212
pub fn expr_break_label_21() {
13-
let mut x = 15i;
14-
let mut y = 151i;
13+
let mut x = 15is;
14+
let mut y = 151is;
1515
'outer: loop {
1616
'inner: loop {
17-
if x == 1i {
17+
if x == 1is {
1818
break 'outer;
1919
"unreachable";
2020
}
21-
if y >= 2i {
21+
if y >= 2is {
2222
return;
2323
"unreachable";
2424
}
25-
y -= 3i;
26-
x -= 5i;
25+
y -= 3is;
26+
x -= 5is;
2727
}
2828
"unreachable";
2929
}

branches/beta/src/test/run-make/graphviz-flowgraph/f22.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@
1010

1111
#[allow(unreachable_code)]
1212
pub fn expr_break_label_21() {
13-
let mut x = 15i;
14-
let mut y = 151i;
13+
let mut x = 15is;
14+
let mut y = 151is;
1515
'outer: loop {
1616
'inner: loop {
17-
if x == 1i {
17+
if x == 1is {
1818
continue 'outer;
1919
"unreachable";
2020
}
21-
if y >= 2i {
21+
if y >= 2is {
2222
return;
2323
"unreachable";
2424
}
25-
x -= 1i;
26-
y -= 3i;
25+
x -= 1is;
26+
y -= 3is;
2727
}
2828
"unreachable";
2929
}

branches/beta/src/test/run-make/graphviz-flowgraph/f23.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@
1010

1111
#[allow(unreachable_code)]
1212
pub fn expr_while_23() {
13-
let mut x = 23i;
14-
let mut y = 23i;
15-
let mut z = 23i;
13+
let mut x = 23is;
14+
let mut y = 23is;
15+
let mut z = 23is;
1616

17-
while x > 0i {
18-
x -= 1i;
17+
while x > 0is {
18+
x -= 1is;
1919

20-
while y > 0i {
21-
y -= 1i;
20+
while y > 0is {
21+
y -= 1is;
2222

23-
while z > 0i { z -= 1i; }
23+
while z > 0is { z -= 1is; }
2424

25-
if x > 10i {
25+
if x > 10is {
2626
return;
2727
"unreachable";
2828
}

branches/beta/src/test/run-make/graphviz-flowgraph/f24.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,24 @@
1010

1111
#[allow(unreachable_code)]
1212
pub fn expr_while_24() {
13-
let mut x = 24i;
14-
let mut y = 24i;
15-
let mut z = 24i;
13+
let mut x = 24is;
14+
let mut y = 24is;
15+
let mut z = 24is;
1616

1717
loop {
18-
if x == 0i { break; "unreachable"; }
19-
x -= 1i;
18+
if x == 0is { break; "unreachable"; }
19+
x -= 1is;
2020

2121
loop {
22-
if y == 0i { break; "unreachable"; }
23-
y -= 1i;
22+
if y == 0is { break; "unreachable"; }
23+
y -= 1is;
2424

2525
loop {
26-
if z == 0i { break; "unreachable"; }
27-
z -= 1i;
26+
if z == 0is { break; "unreachable"; }
27+
z -= 1is;
2828
}
2929

30-
if x > 10i {
30+
if x > 10is {
3131
return;
3232
"unreachable";
3333
}

0 commit comments

Comments
 (0)