]> git.proxmox.com Git - rustc.git/blobdiff - src/test/ui/limits/huge-array-simple-32.stderr
Merge tag 'debian/1.52.1+dfsg1-1_exp2' into proxmox/buster
[rustc.git] / src / test / ui / limits / huge-array-simple-32.stderr
diff --git a/src/test/ui/limits/huge-array-simple-32.stderr b/src/test/ui/limits/huge-array-simple-32.stderr
new file mode 100644 (file)
index 0000000..31e120d
--- /dev/null
@@ -0,0 +1,8 @@
+error: values of the type `[u8; 2147516416]` are too big for the current architecture
+  --> $DIR/huge-array-simple-32.rs:10:9
+   |
+LL |     let _fat: [u8; (1<<31)+(1<<15)] =
+   |         ^^^^
+
+error: aborting due to previous error
+