Expand description

Registering limits:

  • recursion_limit,
  • move_size_limit,
  • type_length_limit, and
  • const_eval_limit

There are various parts of the compiler that must impose arbitrary limits on how deeply they recurse to prevent stack overflow. Users can override this via an attribute on the crate like #![recursion_limit="22"]. This pass just peeks and looks for that attribute.

Functions