]> git.lizzy.rs Git - rust.git/commitdiff
Unignore a few tests
authorJakub Wieczorek <jakub@jakub.cc>
Sat, 20 Sep 2014 23:45:58 +0000 (01:45 +0200)
committerJakub Wieczorek <jakub@jakub.cc>
Thu, 16 Oct 2014 19:40:12 +0000 (21:40 +0200)
Also, remove one that has an exact duplicate.

src/test/compile-fail/non-constant-expr-for-fixed-len-vec.rs
src/test/run-pass/dead-code-one-arm-if.rs [deleted file]
src/test/run-pass/parse-fail.rs
src/test/run-pass/trait-inheritance-cast.rs

index 3ecff26f628d9ef33c51bde3ffcfb8b81cb93212..2a9a0358cc6c0fb220a2888a8f2de440aa2bfd3b 100644 (file)
@@ -8,10 +8,6 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-// ignore-test
-//
-// Ignored because of an ICE at the moment.
-
 // Check that non-constant exprs do fail as count in fixed length vec type
 
 fn main() {
diff --git a/src/test/run-pass/dead-code-one-arm-if.rs b/src/test/run-pass/dead-code-one-arm-if.rs
deleted file mode 100644 (file)
index 197032b..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-// Copyright 2012 The Rust Project Developers. See the COPYRIGHT
-// file at the top-level directory of this distribution and at
-// http://rust-lang.org/COPYRIGHT.
-//
-// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
-// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
-// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
-// option. This file may not be copied, modified, or distributed
-// except according to those terms.
-
-// ignore-test #12920
-
-pub fn main() { if 1 == 1 { return; } println!("Paul is dead"); }
index ffab2f295fa139b890cc3ee758d3c892c73101d7..52a857e21e588ddd75ef88b21cf1ec46d9690a71 100644 (file)
@@ -10,8 +10,6 @@
 
 #![allow(unreachable_code)]
 
-// ignore-test #12920
-
 fn dont_call_me() { fail!(); println!("{}", 1); }
 
 pub fn main() { }
index 4580fb7ab991957d0c3252f0adada769e25edbe5..51bc2751873faa566dc41c1b0f465248360a5574 100644 (file)
@@ -8,16 +8,14 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-// ignore-test
 // Testing that supertrait methods can be called on subtrait object types
-// It's not clear yet that we want this
 
 trait Foo {
-    fn f() -> int;
+    fn f(&self) -> int;
 }
 
 trait Bar : Foo {
-    fn g() -> int;
+    fn g(&self) -> int;
 }
 
 struct A {
@@ -25,11 +23,11 @@ struct A {
 }
 
 impl Foo for A {
-    fn f() -> int { 10 }
+    fn f(&self) -> int { 10 }
 }
 
 impl Bar for A {
-    fn g() -> int { 20 }
+    fn g(&self) -> int { 20 }
 }
 
 pub fn main() {