From 6d8e87111ba4430ee7679232b7578257ffa015a1 Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Tue, 3 Dec 2019 17:37:42 +0100 Subject: [PATCH] bump Rust for exact_div fix --- rust-version | 2 +- tests/compile-fail/exact_div3.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rust-version b/rust-version index e81e0579a3..e1047d816e 100644 --- a/rust-version +++ b/rust-version @@ -1 +1 @@ -4787e97475de6be9487e3d9255a9c2d3c0bf9252 +f577b0ef6e637ab7a6095cdfe0b51fa3faf97050 diff --git a/tests/compile-fail/exact_div3.rs b/tests/compile-fail/exact_div3.rs index 0460e412e4..0d5097a87a 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 237 cannot be divided by 2 without remainder + unsafe { std::intrinsics::exact_div(-19i8, 2); } //~ ERROR -19 cannot be divided by 2 without remainder }