about summary refs log tree commit diff
path: root/tests/ui/limits/huge-array.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/limits/huge-array.stderr')
-rw-r--r--tests/ui/limits/huge-array.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/limits/huge-array.stderr b/tests/ui/limits/huge-array.stderr
new file mode 100644
index 00000000000..817458b73e4
--- /dev/null
+++ b/tests/ui/limits/huge-array.stderr
@@ -0,0 +1,8 @@
+error: values of the type `[[u8; 1518599999]; 1518600000]` are too big for the current architecture
+  --> $DIR/huge-array.rs:8:9
+   |
+LL |     let s: [T; 1518600000] = [t; 1518600000];
+   |         ^
+
+error: aborting due to previous error
+