]> git.lizzy.rs Git - rust.git/commit
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)
commit15a41380c14e94052332360b104ec1651f97297b
tree99b72166df47c52a156730864f6088c8003d48b6
parent4bed1e8c0a433f30f85a01cd74d2251c73f590a2
parenta0155444cff7f4f479c568b474057e6efb73502c
auto merge of #20897 : barosl/rust/no-type-for-node-ice, r=nick29581

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.
src/librustc_typeck/check/mod.rs