about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--tests/run-pass/dst-field-align.rs3
-rw-r--r--tests/run-pass/mir_coercions.rs3
-rw-r--r--tests/run-pass/non_capture_closure_to_fn_ptr.rs3
-rw-r--r--tests/run-pass/subslice_array.rs3
-rw-r--r--tests/run-pass/tuple_like_enum_variant_constructor_pointer_opt.rs3
5 files changed, 15 insertions, 0 deletions
diff --git a/tests/run-pass/dst-field-align.rs b/tests/run-pass/dst-field-align.rs
index 5631b65ed9d..fd44e04ee22 100644
--- a/tests/run-pass/dst-field-align.rs
+++ b/tests/run-pass/dst-field-align.rs
@@ -8,6 +8,9 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// FIXME: Broken by #296
+// compile-flags: -Zmir-emit-validate=0
+
 #![allow(dead_code)]
 
 struct Foo<T: ?Sized> {
diff --git a/tests/run-pass/mir_coercions.rs b/tests/run-pass/mir_coercions.rs
index 36155297e32..194bc9be0ad 100644
--- a/tests/run-pass/mir_coercions.rs
+++ b/tests/run-pass/mir_coercions.rs
@@ -8,6 +8,9 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
+// FIXME: investigate again once #296 is fixed
+// compile-flags: -Zmir-emit-validate=0
+
 #![feature(coerce_unsized, unsize)]
 
 use std::ops::CoerceUnsized;
diff --git a/tests/run-pass/non_capture_closure_to_fn_ptr.rs b/tests/run-pass/non_capture_closure_to_fn_ptr.rs
index c9daff9c9f4..0578ecbbb12 100644
--- a/tests/run-pass/non_capture_closure_to_fn_ptr.rs
+++ b/tests/run-pass/non_capture_closure_to_fn_ptr.rs
@@ -1,3 +1,6 @@
+// FIXME: investigate again once #296 is fixed
+// compile-flags: -Zmir-emit-validate=0
+
 // allow(const_err) to work around a bug in warnings
 #[allow(const_err)]
 static FOO: fn() = || { assert_ne!(42, 43) };
diff --git a/tests/run-pass/subslice_array.rs b/tests/run-pass/subslice_array.rs
index 468cc9f0941..ae4a9eb5cf1 100644
--- a/tests/run-pass/subslice_array.rs
+++ b/tests/run-pass/subslice_array.rs
@@ -1,3 +1,6 @@
+// FIXME: investigate again once #296 is fixed
+// compile-flags: -Zmir-emit-validate=0
+
 #![feature(advanced_slice_patterns)]
 #![feature(slice_patterns)]
 
diff --git a/tests/run-pass/tuple_like_enum_variant_constructor_pointer_opt.rs b/tests/run-pass/tuple_like_enum_variant_constructor_pointer_opt.rs
index fb57d4f4c16..426e1360a3d 100644
--- a/tests/run-pass/tuple_like_enum_variant_constructor_pointer_opt.rs
+++ b/tests/run-pass/tuple_like_enum_variant_constructor_pointer_opt.rs
@@ -1,3 +1,6 @@
+// FIXME: investigate again once #296 is fixed
+// compile-flags: -Zmir-emit-validate=0
+
 fn main() {
     let x = 5;
     assert_eq!(Some(&x).map(Some), Some(Some(&x)));