rust-lang/rust — pull request #19638 by barosl (2014-12-08 07:44:26+00:00)
Title: Fix ICE related to tupled arguments

When a type error occurs, `check_method_argument_types()` tries to provide arguments filled with `ty::mk_err()`. However, if a function takes the parameters as a tuple, the arguments should be converted to a tuple before passing it to check_argument_types().

Fixes #19521.