Skip to main content

validate_program_depth

Function validate_program_depth 

Source
pub fn validate_program_depth(
    stmts: &[Stmt<'_>],
    span: Span,
) -> Result<(), ParseError>
Expand description

Validate a parsed program against the effective limit (max_ast_depth).