Skip to content

Commit d4abd2b

Browse files
committed
reduce recursion limit from 50 to 48 due to stack overflow in test
1 parent 116653f commit d4abd2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parser/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ impl fmt::Display for ParserError {
195195
impl std::error::Error for ParserError {}
196196

197197
// By default, allow expressions up to this deep before erroring
198-
const DEFAULT_REMAINING_DEPTH: usize = 50;
198+
const DEFAULT_REMAINING_DEPTH: usize = 48;
199199

200200
/// Composite types declarations using angle brackets syntax can be arbitrary
201201
/// nested such that the following declaration is possible:

0 commit comments

Comments
 (0)