rustc_mir_transform::known_panics_lint

Constant MAX_ALLOC_LIMIT

source
const MAX_ALLOC_LIMIT: u64 = 1024;
Expand description

The maximum number of bytes that we’ll allocate space for a local or the return value. Needed for #66397, because otherwise we eval into large places and that can cause OOM or just Severely regress performance.