bump Rust

This commit is contained in:
Ralf Jung 2020-06-26 20:36:08 +02:00
parent 1875c59301
commit 3ea8c5fa33
3 changed files with 3 additions and 3 deletions

View File

@ -1 +1 @@
67100f61e62a86f2bf9e38552ee138e231eddc74
7750c3d46bc19784adb1ee6e37a5ec7e4cd7e772

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
}

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
}