We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4b14ce commit 5269806Copy full SHA for 5269806
tests/fail/invalid_bool.rs
@@ -1,7 +1,7 @@
1
// Validation makes this fail in the wrong place
2
// Make sure we find these even with many checks disabled.
3
//@compile-flags: -Zmiri-disable-alignment-check -Zmiri-disable-stacked-borrows -Zmiri-disable-validation
4
-#![feature(bench_black_box)]
+
5
6
fn main() {
7
let b = unsafe { std::mem::transmute::<u8, bool>(2) };
tests/pass/float.rs
@@ -1,4 +1,4 @@
-#![feature(stmt_expr_attributes, bench_black_box)]
+#![feature(stmt_expr_attributes)]
#![allow(arithmetic_overflow)]
use std::fmt::Debug;
use std::hint::black_box;
tests/pass/u128.rs
@@ -1,4 +1,3 @@
use std::hint::black_box as b;
0 commit comments