From 4c741e5fb2c6e73d654aa7485ab8985882d6bc05 Mon Sep 17 00:00:00 2001 From: Ralf Jung <post@ralfj.de> Date: Sun, 25 Apr 2021 16:57:48 +0200 Subject: [PATCH] rustup --- rust-version | 2 +- tests/compile-fail/invalid_bool.rs | 2 +- tests/run-pass/float.rs | 2 +- tests/run-pass/u128.rs | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/rust-version b/rust-version index 29fc4efbeab..d1505e9d841 100644 --- a/rust-version +++ b/rust-version @@ -1 +1 @@ -b2c20b51ed838368d3f2bdccb63f401bcddb7e1c +06f0adb34570ba83fee391abeb0bec0eec28a234 diff --git a/tests/compile-fail/invalid_bool.rs b/tests/compile-fail/invalid_bool.rs index 796d8220dc1..22b9de5776f 100644 --- a/tests/compile-fail/invalid_bool.rs +++ b/tests/compile-fail/invalid_bool.rs @@ -1,7 +1,7 @@ // Validation makes this fail in the wrong place // Make sure we find these even with many checks disabled. // compile-flags: -Zmiri-disable-alignment-check -Zmiri-disable-stacked-borrows -Zmiri-disable-validation -#![feature(test)] +#![feature(bench_black_box)] fn main() { let b = unsafe { std::mem::transmute::<u8, bool>(2) }; diff --git a/tests/run-pass/float.rs b/tests/run-pass/float.rs index d9dba770dab..e40ea919dca 100644 --- a/tests/run-pass/float.rs +++ b/tests/run-pass/float.rs @@ -1,4 +1,4 @@ -#![feature(stmt_expr_attributes, test)] +#![feature(stmt_expr_attributes, bench_black_box)] #![allow(arithmetic_overflow)] use std::fmt::Debug; use std::hint::black_box; diff --git a/tests/run-pass/u128.rs b/tests/run-pass/u128.rs index bbc667c5dde..fae73476275 100644 --- a/tests/run-pass/u128.rs +++ b/tests/run-pass/u128.rs @@ -1,4 +1,4 @@ -#![feature(test)] +#![feature(bench_black_box)] use std::hint::black_box as b; fn main() {