rust-lang/rust — pull request #18730 by bkoropoff (2014-11-07 04:51:36+00:00)
Title: Fix incorrect unboxed closure-related assert in trans

`FnOnce` environments that fit within an `int` are passed to the closure by value. For some reason there was an assert that this would only happen if there were 1 or 0 free variables, but it can also happen if there are multiple variables that happen to fit.

Closes #18652