From 907d2c73103817b1dfa1ce0dedf57114fdd87c80 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Sun, 27 Aug 2017 18:18:32 +0200 Subject: [PATCH] rustc #43457 got fixed, we can enable more tests --- tests/compile-fail/memleak_rc.rs | 3 --- tests/compile-fail/panic.rs | 3 --- tests/compile-fail/zst2.rs | 3 --- tests/compile-fail/zst3.rs | 3 --- tests/run-pass/rc.rs | 3 --- tests/run-pass/send-is-not-static-par-for.rs | 3 --- tests/run-pass/std.rs | 3 --- 7 files changed, 21 deletions(-) diff --git a/tests/compile-fail/memleak_rc.rs b/tests/compile-fail/memleak_rc.rs index ee245daa31069..b2bc6722afb04 100644 --- a/tests/compile-fail/memleak_rc.rs +++ b/tests/compile-fail/memleak_rc.rs @@ -1,6 +1,3 @@ -// FIXME: Due to https://github.com/rust-lang/rust/issues/43457 we have to disable validation -// compile-flags: -Zmir-emit-validate=0 - //error-pattern: the evaluated program leaked memory use std::rc::Rc; diff --git a/tests/compile-fail/panic.rs b/tests/compile-fail/panic.rs index dbe80fecd00f1..0d594f9bd4c3b 100644 --- a/tests/compile-fail/panic.rs +++ b/tests/compile-fail/panic.rs @@ -1,6 +1,3 @@ -// FIXME: Due to https://github.com/rust-lang/rust/issues/43457 we have to disable validation -// compile-flags: -Zmir-emit-validate=0 - //error-pattern: the evaluated program panicked fn main() { diff --git a/tests/compile-fail/zst2.rs b/tests/compile-fail/zst2.rs index 0c46acb8ade40..dd826c2fd74eb 100644 --- a/tests/compile-fail/zst2.rs +++ b/tests/compile-fail/zst2.rs @@ -1,6 +1,3 @@ -// FIXME: Due to https://github.com/rust-lang/rust/issues/43457 we have to disable validation -// compile-flags: -Zmir-emit-validate=0 - // error-pattern: the evaluated program panicked #[derive(Debug)] diff --git a/tests/compile-fail/zst3.rs b/tests/compile-fail/zst3.rs index a6d7fdd35521d..53c42995b8a12 100644 --- a/tests/compile-fail/zst3.rs +++ b/tests/compile-fail/zst3.rs @@ -1,6 +1,3 @@ -// FIXME: Due to https://github.com/rust-lang/rust/issues/43457 we have to disable validation -// compile-flags: -Zmir-emit-validate=0 - // error-pattern: the evaluated program panicked #[derive(Debug)] diff --git a/tests/run-pass/rc.rs b/tests/run-pass/rc.rs index ba1ef6d704314..c6de3675abe8c 100644 --- a/tests/run-pass/rc.rs +++ b/tests/run-pass/rc.rs @@ -1,6 +1,3 @@ -// FIXME: Due to https://github.com/rust-lang/rust/issues/43457 we have to disable validation -// compile-flags: -Zmir-emit-validate=0 - use std::cell::RefCell; use std::rc::Rc; diff --git a/tests/run-pass/send-is-not-static-par-for.rs b/tests/run-pass/send-is-not-static-par-for.rs index 19ff4b30db1d7..4ac1b5436f522 100644 --- a/tests/run-pass/send-is-not-static-par-for.rs +++ b/tests/run-pass/send-is-not-static-par-for.rs @@ -10,9 +10,6 @@ //ignore-windows -// FIXME: Due to https://github.com/rust-lang/rust/issues/43457 we have to disable validation -// compile-flags: -Zmir-emit-validate=0 - use std::sync::Mutex; fn par_for(iter: I, f: F) diff --git a/tests/run-pass/std.rs b/tests/run-pass/std.rs index b15307bb48d83..e0e23812d275e 100644 --- a/tests/run-pass/std.rs +++ b/tests/run-pass/std.rs @@ -1,6 +1,3 @@ -// FIXME: Due to https://github.com/rust-lang/rust/issues/43457 we have to disable validation -// compile-flags: -Zmir-emit-validate=0 - use std::cell::{Cell, RefCell}; use std::rc::Rc; use std::sync::Arc;