Skip to main content

MAX_GROUP_DEPTH

Constant MAX_GROUP_DEPTH 

Source
pub const MAX_GROUP_DEPTH: usize = 8;
Expand description

The deepest group nesting a definition may use.

Depth counts enclosing groups: a top-level group is at depth 0, so groups are accepted at depths 0..MAX_GROUP_DEPTH, and a group at MAX_GROUP_DEPTH is GROUP_TOO_DEEP.