Skip to content

Commit b93462a

Browse files
authored
Merge pull request rust-lang#315 from RalfJung/validation
Enable more validation tests
2 parents b6d0597 + 02a0f0f commit b93462a

File tree

7 files changed

+3
-18
lines changed

7 files changed

+3
-18
lines changed

tests/compile-fail/memleak_rc.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// FIXME: Due to https://github.com/rust-lang/rust/issues/43457 we have to disable validation
2-
// compile-flags: -Zmir-emit-validate=0
3-
41
//error-pattern: the evaluated program leaked memory
52

63
use std::rc::Rc;

tests/compile-fail/panic.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// FIXME: Due to https://github.com/rust-lang/rust/issues/43457 we have to disable validation
1+
// FIXME: Probably failing due to https://github.com/solson/miri/issues/296
22
// compile-flags: -Zmir-emit-validate=0
3-
43
//error-pattern: the evaluated program panicked
54

65
fn main() {

tests/compile-fail/zst2.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// FIXME: Due to https://github.com/rust-lang/rust/issues/43457 we have to disable validation
1+
// FIXME: Probably failing due to https://github.com/solson/miri/issues/296
22
// compile-flags: -Zmir-emit-validate=0
3-
43
// error-pattern: the evaluated program panicked
54

65
#[derive(Debug)]

tests/compile-fail/zst3.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
1-
// FIXME: Due to https://github.com/rust-lang/rust/issues/43457 we have to disable validation
1+
// FIXME: Probably failing due to https://github.com/solson/miri/issues/296
22
// compile-flags: -Zmir-emit-validate=0
3-
43
// error-pattern: the evaluated program panicked
54

65
#[derive(Debug)]

tests/run-pass/rc.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// FIXME: Due to https://github.com/rust-lang/rust/issues/43457 we have to disable validation
2-
// compile-flags: -Zmir-emit-validate=0
3-
41
use std::cell::RefCell;
52
use std::rc::Rc;
63

tests/run-pass/send-is-not-static-par-for.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,6 @@
1010

1111
//ignore-windows
1212

13-
// FIXME: Due to https://github.com/rust-lang/rust/issues/43457 we have to disable validation
14-
// compile-flags: -Zmir-emit-validate=0
15-
1613
use std::sync::Mutex;
1714

1815
fn par_for<I, F>(iter: I, f: F)

tests/run-pass/std.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
// FIXME: Due to https://github.com/rust-lang/rust/issues/43457 we have to disable validation
2-
// compile-flags: -Zmir-emit-validate=0
3-
41
use std::cell::{Cell, RefCell};
52
use std::rc::Rc;
63
use std::sync::Arc;

0 commit comments

Comments
 (0)