Auto merge of #1097 - RalfJung:rustup, r=RalfJung

bump Rust for exact_div fix
This commit is contained in:
bors 2019-12-03 16:38:20 +00:00
commit c388361cc2
2 changed files with 2 additions and 2 deletions

View file

@ -1 +1 @@
4787e97475de6be9487e3d9255a9c2d3c0bf9252
f577b0ef6e637ab7a6095cdfe0b51fa3faf97050

View file

@ -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
}