From 218caa410aa38c29984be31a5229b9fa717560ee Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 17 Apr 2024 14:19:13 +0200 Subject: Merging upstream version 1.68.2+dfsg1. Signed-off-by: Daniel Baumann --- tests/ui/limits/issue-56762.stderr | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 tests/ui/limits/issue-56762.stderr (limited to 'tests/ui/limits/issue-56762.stderr') diff --git a/tests/ui/limits/issue-56762.stderr b/tests/ui/limits/issue-56762.stderr new file mode 100644 index 000000000..e6b9c6762 --- /dev/null +++ b/tests/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`. -- cgit v1.2.3