[−][src]Module rustc_middle::middle::limits

Registering limits, recursion_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

update_limit
update_limits