]> git.lizzy.rs Git - rust.git/commit
auto merge of #19813 : barosl/rust/autoderef-type-inference-ice, r=pnkfelix
authorbors <bors@rust-lang.org>
Wed, 24 Dec 2014 18:37:07 +0000 (18:37 +0000)
committerbors <bors@rust-lang.org>
Wed, 24 Dec 2014 18:37:07 +0000 (18:37 +0000)
commit14597f980a19aad66cd72e9ac4b6cd43b24ea5f4
tree6a32998801c02fd5ee4acaa1cedccfd975cc62d9
parent29ad8539b9c408eebbe7252f74c754f4e0a41d46
parentd9f306757d3e7cdffaea26ddacaea55a837c3124
auto merge of #19813 : barosl/rust/autoderef-type-inference-ice, r=pnkfelix

`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.
Fixes #19583.
Fixes #19297.
src/librustc_typeck/check/method/probe.rs