summaryrefslogtreecommitdiffstats
path: root/src/test/ui/limits/issue-56762.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/test/ui/limits/issue-56762.stderr15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/test/ui/limits/issue-56762.stderr b/src/test/ui/limits/issue-56762.stderr
new file mode 100644
index 000000000..e6b9c6762
--- /dev/null
+++ b/src/test/ui/limits/issue-56762.stderr
@@ -0,0 +1,15 @@
+error[E0080]: values of the type `[u8; 2305843009213693951]` are too big for the current architecture
+ --> $DIR/issue-56762.rs:19:1
+ |
+LL | static MY_TOO_BIG_ARRAY_1: TooBigArray = TooBigArray::new();
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+error[E0080]: values of the type `[u8; 2305843009213693951]` are too big for the current architecture
+ --> $DIR/issue-56762.rs:21:1
+ |
+LL | static MY_TOO_BIG_ARRAY_2: [u8; HUGE_SIZE] = [0x00; HUGE_SIZE];
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+error: aborting due to 2 previous errors
+
+For more information about this error, try `rustc --explain E0080`.