Skip to content

Commit 0848a72

Browse files
committed
---
yaml --- r: 33695 b: refs/heads/snap-stage3 c: d58e0e3 h: refs/heads/master i: 33693: af770e5 33691: 271b0f4 33687: be770f2 33679: dfee55b 33663: f113cbc v: v3
1 parent 28d7baa commit 0848a72

File tree

8 files changed

+9
-26
lines changed

8 files changed

+9
-26
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 35b2960d0074a776556a22b13834ad8f657ffc2e
4+
refs/heads/snap-stage3: d58e0e30edf540c7c6212d0ab7c617c272b27f8e
55
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// xfail-test
2-
// error-pattern: attempted dynamic environment-capture
31
fn foo<T>() {
4-
fn bar(b: T) { }
2+
fn bar(b: T) { } //~ ERROR attempt to use a type argument out of scope
3+
//~^ ERROR use of undeclared type name
54
}
65
fn main() { }
Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
1-
// xfail-fast
2-
// xfail-test
3-
4-
// This is xfail'd due to bad typecheck error messages. (There is a spurious
5-
// "expected `bool` but but found `int`" message.)
6-
71
fn f(f: fn@(int) -> bool) -> bool { f(10i) }
82

93
fn main() {
104
assert do f() |i| { i == 10i } == 10i;
115
//~^ ERROR: expected `bool` but found `int`
12-
//~^^ ERROR: expected `bool` but found `int`
136
}
Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
1-
// xfail-fast
2-
// xfail-test
3-
4-
// This is xfail'd due to bad spurious typecheck error messages.
5-
61
fn main() {
72
fn f() { }
83
fn g() { }
94
let x = f == g;
105
//~^ ERROR mismatched types
11-
//~^^ ERROR cannot determine a type
6+
//~^^ ERROR failed to find an implementation of trait
127
}

branches/snap-stage3/src/test/compile-fail/import-from-missing.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// error-pattern:unresolved
2-
// xfail-test
1+
// error-pattern:failed to resolve import
32
use spam::{ham, eggs};
43

54
mod spam {

branches/snap-stage3/src/test/compile-fail/import.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
// xfail-test
2-
// error-pattern: unresolved
1+
// error-pattern:failed to resolve import
32
use zed::bar;
43
use zed::baz;
54
mod zed {

branches/snap-stage3/src/test/compile-fail/infinite-tag-type-recursion.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
// xfail-test
21
// -*- rust -*-
32

4-
// error-pattern: enum of infinite size
3+
// error-pattern: illegal recursive enum type; wrap the inner value in a box
54

65
enum mlist { cons(int, mlist), nil, }
76

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
// xfail-test
21
// Testing that we don't fail abnormally after hitting the errors
32

4-
use unresolved::*; //~ ERROR unresolved modulename
5-
//~^ ERROR unresolved does not name a module
3+
use unresolved::*; //~ ERROR unresolved name
4+
//~^ ERROR failed to resolve import
65

76
fn main() {
87
}

0 commit comments

Comments
 (0)