Skip to content

Commit f3d21f2

Browse files
committed
---
yaml --- r: 36183 b: refs/heads/try2 c: caf6803 h: refs/heads/master i: 36181: 788489c 36179: b78f927 36175: c37b721 v: v3
1 parent 8ba66b1 commit f3d21f2

File tree

6 files changed

+8
-13
lines changed

6 files changed

+8
-13
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: ad025102582b8c5b7d78b96683cf9e9e94dc5272
8+
refs/heads/try2: caf68038dd5bc129a3a9b6972a64c0752b73a004
99
refs/heads/incoming: d9317a174e434d4c99fc1a37fd7dc0d2f5328d37
1010
refs/heads/dist-snap: 22efa39382d41b084fde1719df7ae8ce5697d8c9
1111
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
enum hello = int;
22

33
fn main() {
4-
let hello = 0; //~ERROR declaration of `hello` shadows an enum that's in
5-
}
4+
let hello = 0; //~ERROR declaration of `hello` shadows
5+
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
// error-pattern: type cat cannot be dereferenced
1+
// error-pattern: can only dereference structs
22
struct cat {
33
x: ()
44
}
55

66
fn main() {
77
let kitty : cat = cat { x: () };
88
log (error, *kitty);
9-
}
9+
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
// error-pattern: type cat cannot be dereferenced
1+
// error-pattern: can only dereference structs
22
struct cat {
33
foo: ()
44
}
55

66
fn main() {
77
let nyan = cat { foo: () };
88
log (error, *nyan);
9-
}
9+
}

branches/try2/src/test/compile-fail/issue-2509-a.rs

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
enum foo = uint;
22

33
fn main() {
4-
let (foo, _) = (2, 3); //~ ERROR declaration of `foo` shadows an enum that's in scope
4+
let (foo, _) = (2, 3); //~ ERROR declaration of `foo` shadows
55
}

0 commit comments

Comments
 (0)