We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 11603c4 + f16f891 commit 6138794Copy full SHA for 6138794
rust-version
@@ -1 +1 @@
1
-3e525e3f6d9e85d54fa4c49b52df85aa0c990100
+b9cf5417892ef242c783ef963deff5436205b0f6
tests/run-pass/issue-17877.rs
@@ -1,14 +1,11 @@
-//ignore-windows: Causes a stack overflow?!? Likely a rustc bug: https://github.com/rust-lang/rust/issues/53820
2
-//FIXME: Once that bug is fixed, increase the size to 16*1024 and enable on all platforms.
3
-
4
#![feature(slice_patterns)]
5
6
fn main() {
7
- assert_eq!(match [0u8; 1024] {
+ assert_eq!(match [0u8; 16*1024] {
8
_ => 42_usize,
9
}, 42_usize);
10
11
12
[1, ..] => 0_usize,
13
[0, ..] => 1_usize,
14
_ => 2_usize
0 commit comments