Skip to content

Commit 9082cc4

Browse files
committed
Auto merge of #1233 - RalfJung:rustup, r=RalfJung
rustup Cc rust-lang/rust#70055
2 parents 3cf495d + 8a26a28 commit 9082cc4

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

rust-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
97eda01bb79de1e0a52994f52cfb5a527687f505
1+
dd67187965e136bff1ed05e035293441c60f0790

tests/compile-fail/exact_div2.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
// divison with a remainder
4-
unsafe { std::intrinsics::exact_div(2u16, 3); } //~ ERROR 2 cannot be divided by 3 without remainder
4+
unsafe { std::intrinsics::exact_div(2u16, 3); } //~ ERROR 2u16 cannot be divided by 3u16 without remainder
55
}

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 -19 cannot be divided by 2 without remainder
4+
unsafe { std::intrinsics::exact_div(-19i8, 2); } //~ ERROR -19i8 cannot be divided by 2i8 without remainder
55
}

0 commit comments

Comments
 (0)