Skip to content

Commit 4c8b813

Browse files
committed
Closes #15919
1 parent b60c3e2 commit 4c8b813

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/test/compile-fail/issue-15919.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11+
// error-pattern: the type `[i32; 9223372036854775808]` is too big for the current architecture
12+
1113
fn main() {
12-
let x = [0usize; 9223372036854775808]; // We don't officially support 128-bit architecture
13-
//~^ error: the type `[usize; 9223372036854775808]` is too big for the current architecture
14+
let _x = [0; 9223372036854775808];
1415
}

0 commit comments

Comments
 (0)