]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/numbers-arithmetic/overflowing-neg.rs
Update tests to remove old numeric constants
[rust.git] / src / test / ui / numbers-arithmetic / overflowing-neg.rs
index fe77544641cc1655b0b03b6c6b5631dfedca276b..df1198053036d7ebd66d0298bf997ff78485d84a 100644 (file)
@@ -6,5 +6,5 @@
 #![allow(arithmetic_overflow)]
 
 fn main() {
-    let _x = -std::i8::MIN;
+    let _x = -i8::MIN;
 }