rustc_const_eval::const_eval::machine

Constant LINT_TERMINATOR_LIMIT

Source
const LINT_TERMINATOR_LIMIT: usize = 2_000_000;
Expand description

When hitting this many interpreted terminators we emit a deny by default lint that notfies the user that their constant takes a long time to evaluate. If that’s what they intended, they can just allow the lint.