Skip to content

Commit

Permalink
Auto merge of #1097 - RalfJung:rustup, r=RalfJung
Browse files Browse the repository at this point in the history
bump Rust for exact_div fix
  • Loading branch information
bors committed Dec 3, 2019
2 parents 3f27d8c + 6d8e871 commit c388361
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rust-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4787e97475de6be9487e3d9255a9c2d3c0bf9252
f577b0ef6e637ab7a6095cdfe0b51fa3faf97050
2 changes: 1 addition & 1 deletion tests/compile-fail/exact_div3.rs
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit c388361

Please sign in to comment.