From 3ea8c5fa33d9385d1c01c28b0cbc4796611cb52e Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Fri, 26 Jun 2020 20:36:08 +0200 Subject: [PATCH] bump Rust --- rust-version | 2 +- tests/compile-fail/intrinsics/exact_div2.rs | 2 +- tests/compile-fail/intrinsics/exact_div3.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rust-version b/rust-version index 8a53046ddfb..159f752cc0d 100644 --- a/rust-version +++ b/rust-version @@ -1 +1 @@ -67100f61e62a86f2bf9e38552ee138e231eddc74 +7750c3d46bc19784adb1ee6e37a5ec7e4cd7e772 diff --git a/tests/compile-fail/intrinsics/exact_div2.rs b/tests/compile-fail/intrinsics/exact_div2.rs index 9b9ae807088..1327046920d 100644 --- a/tests/compile-fail/intrinsics/exact_div2.rs +++ b/tests/compile-fail/intrinsics/exact_div2.rs @@ -1,5 +1,5 @@ #![feature(core_intrinsics)] fn main() { // divison with a remainder - unsafe { std::intrinsics::exact_div(2u16, 3); } //~ ERROR 2u16 cannot be divided by 3u16 without remainder + unsafe { std::intrinsics::exact_div(2u16, 3); } //~ ERROR 2_u16 cannot be divided by 3_u16 without remainder } diff --git a/tests/compile-fail/intrinsics/exact_div3.rs b/tests/compile-fail/intrinsics/exact_div3.rs index 1cd112acfc2..6a309442749 100644 --- a/tests/compile-fail/intrinsics/exact_div3.rs +++ b/tests/compile-fail/intrinsics/exact_div3.rs @@ -1,5 +1,5 @@ #![feature(core_intrinsics)] fn main() { // signed divison with a remainder - unsafe { std::intrinsics::exact_div(-19i8, 2); } //~ ERROR -19i8 cannot be divided by 2i8 without remainder + unsafe { std::intrinsics::exact_div(-19i8, 2); } //~ ERROR -19_i8 cannot be divided by 2_i8 without remainder } -- 2.44.0