]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #20897 : barosl/rust/no-type-for-node-ice, r=nick29581
authorbors <bors@rust-lang.org>
Mon, 12 Jan 2015 02:40:20 +0000 (02:40 +0000)
committerbors <bors@rust-lang.org>
Mon, 12 Jan 2015 02:40:20 +0000 (02:40 +0000)
If the type of a node cannot be determined due to a previous type error, a `no type for node` ICE occurs. This commit makes it return `ty_err` instead in such a case.

Fixes #20401.
Fixes #20506.
Fixes #20614.
Fixes #20752.
Fixes #20829.
Fixes #20846.
Fixes #20885.
Fixes #20886.
Fixes #20952.
Fixes #20970.

1  2 
src/librustc_typeck/check/mod.rs

Simple merge