Skip to content

Commit

Permalink
bump Rust for exact_div fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Dec 3, 2019
1 parent 3f27d8c commit 6d8e871
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 6d8e871

Please sign in to comment.