208. A capitalized let bounds what reads it, as a const does (2026-11-22)
- Decision. The bounds analysis reads
let B = 1_000_005, whose whole pattern the parser takes as a variant with no arguments, as binding the nameB, the way the checker and the lowering already do. A loop over0..Bgets its count and a fn's cost estimate can use it. - Why. Ports name constants in capitals with
letas often as withconst, and before this onlyconstbounded a loop. On the 877 ports incorpus/problems, loops with a count go from 1,134 to 1,155; fns with an estimated cost are unchanged, since their other loops still have none. - Reverse. Drop
rules::bindingincpl-lintand its uses.