Skip to content

Commit 58e86dd

Browse files
committed
---
yaml --- r: 40413 b: refs/heads/dist-snap c: f8bd955 h: refs/heads/master i: 40411: 56f4464 v: v3
1 parent 55e4cce commit 58e86dd

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
@@ -7,7 +7,7 @@ refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: a810c03263670238bccd64cabb12a23a46e3a278
99
refs/heads/incoming: e90142e536c150df0d9b4b2f11352152177509b5
10-
refs/heads/dist-snap: d4cc7db138a1e8f81d50c4b451f4a5c5c3f45f74
10+
refs/heads/dist-snap: f8bd95589fceb893e5244f8f94e010a8b30f6529
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1212
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1313
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

branches/dist-snap/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/dist-snap/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/dist-snap/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)