Skip to content

Commit f3d46bd

Browse files
author
Jakub Wieczorek
committed
Unignore a few tests
Also, remove one that has an exact duplicate.
1 parent b6e0d3a commit f3d46bd

File tree

4 files changed

+4
-25
lines changed

4 files changed

+4
-25
lines changed

src/test/compile-fail/non-constant-expr-for-fixed-len-vec.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// ignore-test
12-
//
13-
// Ignored because of an ICE at the moment.
14-
1511
// Check that non-constant exprs do fail as count in fixed length vec type
1612

1713
fn main() {

src/test/run-pass/dead-code-one-arm-if.rs

Lines changed: 0 additions & 13 deletions
This file was deleted.

src/test/run-pass/parse-fail.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010

1111
#![allow(unreachable_code)]
1212

13-
// ignore-test #12920
14-
1513
fn dont_call_me() { fail!(); println!("{}", 1); }
1614

1715
pub fn main() { }

src/test/run-pass/trait-inheritance-cast.rs

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,28 +8,26 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// ignore-test
1211
// Testing that supertrait methods can be called on subtrait object types
13-
// It's not clear yet that we want this
1412

1513
trait Foo {
16-
fn f() -> int;
14+
fn f(&self) -> int;
1715
}
1816

1917
trait Bar : Foo {
20-
fn g() -> int;
18+
fn g(&self) -> int;
2119
}
2220

2321
struct A {
2422
x: int
2523
}
2624

2725
impl Foo for A {
28-
fn f() -> int { 10 }
26+
fn f(&self) -> int { 10 }
2927
}
3028

3129
impl Bar for A {
32-
fn g() -> int { 20 }
30+
fn g(&self) -> int { 20 }
3331
}
3432

3533
pub fn main() {

0 commit comments

Comments
 (0)