Skip to content

Commit 00c909d

Browse files
committed
we can enable a bunch of tests for validation again
1 parent 1591977 commit 00c909d

5 files changed

+0
-15
lines changed

tests/run-pass/dst-field-align.rs

-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// FIXME: Broken by #296
12-
// compile-flags: -Zmir-emit-validate=0
13-
1411
#![allow(dead_code)]
1512

1613
struct Foo<T: ?Sized> {

tests/run-pass/mir_coercions.rs

-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
// FIXME: investigate again once #296 is fixed
12-
// compile-flags: -Zmir-emit-validate=0
13-
1411
#![feature(coerce_unsized, unsize)]
1512

1613
use std::ops::CoerceUnsized;

tests/run-pass/non_capture_closure_to_fn_ptr.rs

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// FIXME: investigate again once #296 is fixed
2-
// compile-flags: -Zmir-emit-validate=0
3-
41
// allow(const_err) to work around a bug in warnings
52
#[allow(const_err)]
63
static FOO: fn() = || { assert_ne!(42, 43) };

tests/run-pass/subslice_array.rs

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// FIXME: investigate again once #296 is fixed
2-
// compile-flags: -Zmir-emit-validate=0
3-
41
#![feature(advanced_slice_patterns)]
52
#![feature(slice_patterns)]
63

tests/run-pass/tuple_like_enum_variant_constructor_pointer_opt.rs

-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// FIXME: investigate again once #296 is fixed
2-
// compile-flags: -Zmir-emit-validate=0
3-
41
fn main() {
52
let x = 5;
63
assert_eq!(Some(&x).map(Some), Some(Some(&x)));

0 commit comments

Comments
 (0)