]> git.lizzy.rs Git - rust.git/commitdiff
bump Rust
authorRalf Jung <post@ralfj.de>
Fri, 26 Jun 2020 18:36:08 +0000 (20:36 +0200)
committerRalf Jung <post@ralfj.de>
Fri, 26 Jun 2020 18:36:08 +0000 (20:36 +0200)
rust-version
tests/compile-fail/intrinsics/exact_div2.rs
tests/compile-fail/intrinsics/exact_div3.rs

index 8a53046ddfbf46a576fa2e086ac35f49aa4e7026..159f752cc0df3f64676cccf02b6ea5272e418013 100644 (file)
@@ -1 +1 @@
-67100f61e62a86f2bf9e38552ee138e231eddc74
+7750c3d46bc19784adb1ee6e37a5ec7e4cd7e772
index 9b9ae807088d773a6fa71c4225525f79fb9c15c1..1327046920d263fa51344eafa461f0ac65e3bfd2 100644 (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
 }
index 1cd112acfc2d5f9775cae80e35cc178dc94177a2..6a309442749b1957566a62d980ff60c53f9f21a9 100644 (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
 }