MAX_TYPETREE_DEPTH

Constant MAX_TYPETREE_DEPTH 

Source
const MAX_TYPETREE_DEPTH: usize = 6;
Expand description

Maximum recursion depth for TypeTree generation to prevent stack overflow from pathological deeply nested types. Combined with cycle detection.