Skip to content

Commit 18dc4fa

Browse files
committed
---
yaml --- r: 34807 b: refs/heads/master c: fa38c12 h: refs/heads/master i: 34805: 372942b 34803: b004dbc 34799: 930d1fd v: v3
1 parent 23c821e commit 18dc4fa

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: 141ef23aa714c9572da6fd616e7bdb96ea40ea07
2+
refs/heads/master: fa38c1290119c1ceca77db38c0075f7412d296d7
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
55
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024

trunk/src/test/compile-fail/issue-2766-a.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
mod stream {
22
#[legacy_exports];
3-
enum stream<T: Send> { send(T, server::stream<T>), }
3+
enum Stream<T: Send> { send(T, server::Stream<T>), }
44
mod server {
55
#[legacy_exports];
6-
impl<T: Send> stream<T> {
7-
fn recv() -> extern fn(+v: stream<T>) -> stream::stream<T> {
6+
impl<T: Send> Stream<T> {
7+
fn recv() -> extern fn(+v: Stream<T>) -> stream::Stream<T> {
88
// resolve really should report just one error here.
99
// Change the test case when it changes.
10-
fn recv(+pipe: stream<T>) -> stream::stream<T> { //~ ERROR attempt to use a type argument out of scope
10+
fn recv(+pipe: Stream<T>) -> stream::Stream<T> { //~ ERROR attempt to use a type argument out of scope
1111
//~^ ERROR use of undeclared type name
1212
//~^^ ERROR attempt to use a type argument out of scope
1313
//~^^^ ERROR use of undeclared type name
@@ -16,7 +16,7 @@ mod stream {
1616
recv
1717
}
1818
}
19-
type stream<T: Send> = pipes::RecvPacket<stream::stream<T>>;
19+
type Stream<T: Send> = pipes::RecvPacket<stream::Stream<T>>;
2020
}
2121
}
2222

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
enum a { b, c }
22

3-
enum a { d, e } //~ ERROR Duplicate definition of type a
3+
enum a { d, e } //~ ERROR duplicate definition of type a
44

55
fn main() {}

trunk/src/test/compile-fail/issue-3099-b.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
mod a {}
33

44
#[legacy_exports]
5-
mod a {} //~ ERROR Duplicate definition of module a
5+
mod a {} //~ ERROR duplicate definition of type a
66

77
fn main() {}

trunk/src/test/compile-fail/issue-3099.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ fn a(x: ~str) -> ~str {
22
fmt!("First function with %s", x)
33
}
44

5-
fn a(x: ~str, y: ~str) -> ~str { //~ ERROR Duplicate definition of value a
5+
fn a(x: ~str, y: ~str) -> ~str { //~ ERROR duplicate definition of value a
66
fmt!("Second function with %s and %s", x, y)
77
}
88

0 commit comments

Comments
 (0)