Skip to content

Commit c388361

Browse files
committed
Auto merge of #1097 - RalfJung:rustup, r=RalfJung
bump Rust for exact_div fix
2 parents 3f27d8c + 6d8e871 commit c388361

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4787e97475de6be9487e3d9255a9c2d3c0bf9252
1+
f577b0ef6e637ab7a6095cdfe0b51fa3faf97050

tests/compile-fail/exact_div3.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#![feature(core_intrinsics)]
22
fn main() {
33
// signed divison with a remainder
4-
unsafe { std::intrinsics::exact_div(-19i8, 2); } //~ ERROR 237 cannot be divided by 2 without remainder
4+
unsafe { std::intrinsics::exact_div(-19i8, 2); } //~ ERROR -19 cannot be divided by 2 without remainder
55
}

0 commit comments

Comments
 (0)