rust-lang/rust — pull request #19813 by barosl (2014-12-13 16:08:42+00:00)
Title: Detect type inference failure when auto-dereferencing a pointer

`check::autoderef()` returns a `ty_err` when it fails to infer the type. `probe::probe()` should respect this failure and fail together to prevent further corruption.

Fixes #19692.