Skip to content

Commit 2079ae3

Browse files
NadrierilCentril
andauthored
Update src/test/ui/pattern/issue-53820-slice-pattern-large-array.rs
Co-Authored-By: Mazdak Farrokhzad <twingoow@gmail.com>
1 parent 7f5e044 commit 2079ae3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/test/ui/pattern/issue-53820-slice-pattern-large-array.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
// check-pass
2+
3+
// This used to cause a stack overflow in the compiler.
4+
25
#![feature(slice_patterns)]
36

47
fn main() {

0 commit comments

Comments
 (0)