Skip to content

Commit 347d379

Browse files
committed
---
yaml --- r: 36318 b: refs/heads/try2 c: f8bd955 h: refs/heads/master v: v3
1 parent 441dd17 commit 347d379

File tree

5 files changed

+13
-20
lines changed

5 files changed

+13
-20
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: d4cc7db138a1e8f81d50c4b451f4a5c5c3f45f74
8+
refs/heads/try2: f8bd95589fceb893e5244f8f94e010a8b30f6529
99
refs/heads/incoming: d9317a174e434d4c99fc1a37fd7dc0d2f5328d37
1010
refs/heads/dist-snap: 22efa39382d41b084fde1719df7ae8ce5697d8c9
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596

branches/try2/src/test/auxiliary/cci_class_5.rs

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,15 @@
11
mod kitties {
2-
#[legacy_exports];
32

4-
struct cat {
5-
priv {
6-
mut meows : uint,
7-
}
8-
9-
how_hungry : int,
10-
11-
}
3+
pub struct cat {
4+
priv mut meows : uint,
5+
how_hungry : int,
6+
}
127

138
impl cat {
14-
priv fn nap() { for uint::range(1u, 10000u) |_i|{}}
9+
priv fn nap() { for uint::range(1, 10000u) |_i|{}}
1510
}
1611

17-
fn cat(in_x : uint, in_y : int) -> cat {
12+
pub fn cat(in_x : uint, in_y : int) -> cat {
1813
cat {
1914
meows: in_x,
2015
how_hungry: in_y

branches/try2/src/test/compile-fail/omitted-arg-wrong-types.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// xfail-test
2-
1+
// xfail-test - #2093
32
fn let_in<T>(x: T, f: fn(T)) {}
43

54
fn main() {
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
// error-pattern:attempted access of field `nap` on type
2+
// xfail-test Cross-crate impl method privacy doesn't work
23
// xfail-fast
3-
// xfail-test
44
// aux-build:cci_class_5.rs
5-
use cci_class_5;
5+
extern mod cci_class_5;
66
use cci_class_5::kitties::*;
77

88
fn main() {
9-
let nyan : cat = cat(52u, 99);
9+
let nyan : cat = cat(52, 99);
1010
nyan.nap();
1111
}

branches/try2/src/test/compile-fail/regions-out-of-scope-slice.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
// xfail-test
2-
1+
// xfail-test blk region isn't supported in the front-end
32
fn foo(cond: bool) {
43
// Here we will infer a type that uses the
54
// region of the if stmt then block, but in the scope:
65
let mut x; //~ ERROR foo
76

87
if cond {
9-
x = &[1,2,3]blk;
8+
x = &blk/[1,2,3];
109
}
1110
}
1211

0 commit comments

Comments
 (0)