We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b60c3e2 commit 4c8b813Copy full SHA for 4c8b813
src/test/compile-fail/issue-15919.rs
@@ -8,7 +8,8 @@
8
// option. This file may not be copied, modified, or distributed
9
// except according to those terms.
10
11
+// error-pattern: the type `[i32; 9223372036854775808]` is too big for the current architecture
12
+
13
fn main() {
- let x = [0usize; 9223372036854775808]; // We don't officially support 128-bit architecture
-//~^ error: the type `[usize; 9223372036854775808]` is too big for the current architecture
14
+ let _x = [0; 9223372036854775808];
15
}
0 commit comments