c2bb2f0837
If the expected type is none (due to a type error), we shouldn't fail with an ICE, but rather, just print out another type error. Changed the do-expr type error message to make sense in this context (see the test case for how it works). Closes #3044. |
||
---|---|---|
.. | ||
borrowck | ||
trans | ||
tstate | ||
typeck | ||
astencode.rs | ||
block_use.rs | ||
borrowck.rs | ||
capture.rs | ||
check_alt.rs | ||
check_const.rs | ||
check_loop.rs | ||
const_eval.rs | ||
freevars.rs | ||
kind.rs | ||
lang_items.rs | ||
lint.rs | ||
liveness.rs | ||
pat_util.rs | ||
region.rs | ||
resolve3.rs | ||
ty.rs | ||
typeck.rs |