Skip to content

Commit cfe4c35

Browse files
committed
ratchet down the recursion limit because, at least in my testing,
under some configurations this still causes a stack overflow and hence a crash
1 parent 7c2ee5e commit cfe4c35

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010

1111
#![allow(unused)]
1212

13+
#![recursion_limit = "32"]
14+
1315
#[derive(Clone)]
1416
struct A (B);
1517

0 commit comments

Comments
 (0)