From 8a26a288c2fa72e623e4c48d77216cf58c7177cc Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Mon, 16 Mar 2020 21:32:57 +0100 Subject: [PATCH] rustup --- rust-version | 2 +- tests/compile-fail/exact_div2.rs | 2 +- tests/compile-fail/exact_div3.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rust-version b/rust-version index 085e3695a19..dce708705b3 100644 --- a/rust-version +++ b/rust-version @@ -1 +1 @@ -97eda01bb79de1e0a52994f52cfb5a527687f505 +dd67187965e136bff1ed05e035293441c60f0790 diff --git a/tests/compile-fail/exact_div2.rs b/tests/compile-fail/exact_div2.rs index f4400d0d8ae..9b9ae807088 100644 --- a/tests/compile-fail/exact_div2.rs +++ b/tests/compile-fail/exact_div2.rs @@ -1,5 +1,5 @@ #![feature(core_intrinsics)] fn main() { // divison with a remainder - unsafe { std::intrinsics::exact_div(2u16, 3); } //~ ERROR 2 cannot be divided by 3 without remainder + unsafe { std::intrinsics::exact_div(2u16, 3); } //~ ERROR 2u16 cannot be divided by 3u16 without remainder } diff --git a/tests/compile-fail/exact_div3.rs b/tests/compile-fail/exact_div3.rs index 0d5097a87a2..1cd112acfc2 100644 --- a/tests/compile-fail/exact_div3.rs +++ b/tests/compile-fail/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 -19 cannot be divided by 2 without remainder + unsafe { std::intrinsics::exact_div(-19i8, 2); } //~ ERROR -19i8 cannot be divided by 2i8 without remainder } -- 2.44.0