]> 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 aa1dd58d2463d3237fd170666a63c55aad2849a7..fee664caa17833fea08c75f53c57d1cdeb1c881f 100644 (file)
@@ -1,7 +1,7 @@
 // normalize-stderr-64bit "18446744073709551615" -> "SIZE"
 // normalize-stderr-32bit "4294967295" -> "SIZE"
 
-// error-pattern: is too big for the current architecture
+// 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]>());
 }