rust-lang/rust — pull request #16762 by huonw (2014-08-26 12:48:10+00:00)
Title: Improve the diagnostics from mistakes in for loops

- print the type of `x` in `for ... in x` in the "does not implement Iterator" message
- avoid printing that message if `x` has a type error