From 2d6ef29e68669ca677476c469d26ac0635b7ea8f Mon Sep 17 00:00:00 2001 From: Leah Hanson Date: Mon, 11 Nov 2013 12:12:39 -0600 Subject: [PATCH 1/3] Removed test issue-912.rs This was marked xfail-test According to rust's issue #912, this will not be fixed. There's no point in keeping the test if it is never intended to pass. --- src/test/run-pass/issue-912.rs | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 src/test/run-pass/issue-912.rs diff --git a/src/test/run-pass/issue-912.rs b/src/test/run-pass/issue-912.rs deleted file mode 100644 index d2c51df2b8fb3..0000000000000 --- a/src/test/run-pass/issue-912.rs +++ /dev/null @@ -1,18 +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 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - -// xfail-test -fn find(_f: &fn(@T) -> bool, _v: [@T]) {} - -pub fn main() { - let x = 10, arr = []; - find({|f| f.id == x}, arr); - arr += [{id: 20}]; // This assigns a type to arr -} From ba4bf7ec33d38f9819a61741fb746feaa720bd82 Mon Sep 17 00:00:00 2001 From: Leah Hanson Date: Mon, 11 Nov 2013 12:59:00 -0600 Subject: [PATCH 2/3] Remove run-pass/issue-3907-2.rs This test is not supposed to compile; there is an equivalent test in compile-fail/issue-3907.rs. --- src/test/run-pass/issue-3907-2.rs | 30 ------------------------------ 1 file changed, 30 deletions(-) delete mode 100644 src/test/run-pass/issue-3907-2.rs diff --git a/src/test/run-pass/issue-3907-2.rs b/src/test/run-pass/issue-3907-2.rs deleted file mode 100644 index 8599caa3306eb..0000000000000 --- a/src/test/run-pass/issue-3907-2.rs +++ /dev/null @@ -1,30 +0,0 @@ -// Copyright 2013 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 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - -// xfail-test -// aux-build:issue_3907_1.rs -extern mod issue_3907_1; - -type Foo = issue_3907_1::Foo; - -struct S { - name: int -} - -impl Foo for S { - fn bar() { } -} - -fn main() { - let s = S { - name: 0 - }; - s.bar(); -} From a5b6d8d7c2513674a06a0336f1c286cfb33157f7 Mon Sep 17 00:00:00 2001 From: Leah Hanson Date: Mon, 11 Nov 2013 13:25:07 -0600 Subject: [PATCH 3/3] Remove test issue-3461 According to issue #3461, it doesn't sound like this is planned to be fixed. --- src/test/run-pass/issue-3461.rs | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 src/test/run-pass/issue-3461.rs diff --git a/src/test/run-pass/issue-3461.rs b/src/test/run-pass/issue-3461.rs deleted file mode 100644 index dae35d7237b85..0000000000000 --- a/src/test/run-pass/issue-3461.rs +++ /dev/null @@ -1,17 +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 or the MIT license -// , at your -// option. This file may not be copied, modified, or distributed -// except according to those terms. - -// xfail-test -pub fn main() { - - fn foo() { } - - let bar: ~fn() = ~foo; -}