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

bump Rust
This commit is contained in:
bors
2020-06-26 18:36:58 +00:00
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -1 +1 @@
67100f61e62a86f2bf9e38552ee138e231eddc74
7750c3d46bc19784adb1ee6e37a5ec7e4cd7e772
+1 -1
View File
@@ -1,5 +1,5 @@
#![feature(core_intrinsics)]
fn main() {
// divison with a remainder
unsafe { std::intrinsics::exact_div(2u16, 3); } //~ ERROR 2u16 cannot be divided by 3u16 without remainder
unsafe { std::intrinsics::exact_div(2u16, 3); } //~ ERROR 2_u16 cannot be divided by 3_u16 without remainder
}
+1 -1
View File
@@ -1,5 +1,5 @@
#![feature(core_intrinsics)]
fn main() {
// signed divison with a remainder
unsafe { std::intrinsics::exact_div(-19i8, 2); } //~ ERROR -19i8 cannot be divided by 2i8 without remainder
unsafe { std::intrinsics::exact_div(-19i8, 2); } //~ ERROR -19_i8 cannot be divided by 2_i8 without remainder
}