]> git.lizzy.rs Git - rust.git/blobdiff - src/test/compile-fail/consts/issue-55878.rs
Update tests to remove old numeric constants
[rust.git] / src / test / compile-fail / consts / issue-55878.rs
index 541befa7b1310d2987f27c7e9c6286d54cebbe9d..fee664caa17833fea08c75f53c57d1cdeb1c881f 100644 (file)
@@ -3,5 +3,5 @@
 
 // error-pattern: are too big for the current architecture
 fn main() {
-    println!("Size: {}", std::mem::size_of::<[u8; std::u64::MAX as usize]>());
+    println!("Size: {}", std::mem::size_of::<[u8; u64::MAX as usize]>());
 }