]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/consts/promotion.rs
Update tests to remove old numeric constants
[rust.git] / src / test / ui / consts / promotion.rs
index 5f84030a9e96b4d0f68afaca43b23b5bd353dca2..e6f5c3d27ca994f5d737641669de79036d22279a 100644 (file)
@@ -13,5 +13,5 @@ fn main() {
 
     // make sure that these do not cause trouble despite overflowing
     baz_u32(&(0-1));
-    baz_i32(&-std::i32::MIN);
+    baz_i32(&-i32::MIN);
 }