rust-lang/rust — pull request #18560 by bkoropoff (2014-11-03 03:38:20+00:00)
Title: Fix ICE when checking call overload

If the overloaded method does not have a tuple or unit type as its first non-self parameter, produce a list of error types with the correct length to prevent a later index bound panic. This typically occurs due to propagation of an earlier type error or unconstrained type variable. Closes #18532