rust/src/rustc/middle
Tim Chevalier c2bb2f0837 When checking loop bodies and do-expr bodies, don't require the expected type to exist
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.
2012-08-02 21:44:14 -07:00
..
borrowck Convert ret to return 2012-08-01 19:16:06 -07:00
trans rustc: Translate class literals correctly if the class has a destructor 2012-08-02 18:14:50 -07:00
tstate Convert ret to return 2012-08-01 19:16:06 -07:00
typeck When checking loop bodies and do-expr bodies, don't require the expected type to exist 2012-08-02 21:44:14 -07:00
astencode.rs Convert ret to return 2012-08-01 19:16:06 -07:00
block_use.rs Move the world over to using the new style string literals and types. Closes #2907. 2012-07-14 01:03:43 -07:00
borrowck.rs Remove modes from map API and replace with regions. 2012-08-02 15:53:28 -07:00
capture.rs Convert ret to return 2012-08-01 19:16:06 -07:00
check_alt.rs Convert ret to return 2012-08-01 19:16:06 -07:00
check_const.rs Convert ret to return 2012-08-01 19:16:06 -07:00
check_loop.rs Move the world over to using the new style string literals and types. Closes #2907. 2012-07-14 01:03:43 -07:00
const_eval.rs Frontend bits for #2317, general const-expr classification. 2012-07-30 19:06:06 -07:00
freevars.rs Convert ret to return 2012-08-01 19:16:06 -07:00
kind.rs Convert ret to return 2012-08-01 19:16:06 -07:00
lang_items.rs Remove modes from map API and replace with regions. 2012-08-02 15:53:28 -07:00
lint.rs Convert ret to return 2012-08-01 19:16:06 -07:00
liveness.rs Convert ret to return 2012-08-01 19:16:06 -07:00
pat_util.rs Convert ret to return 2012-08-01 19:16:06 -07:00
region.rs Convert ret to return 2012-08-01 19:16:06 -07:00
resolve3.rs Remove modes from map API and replace with regions. 2012-08-02 15:53:28 -07:00
ty.rs Fixing a long line 2012-08-02 19:27:07 -07:00
typeck.rs Make typeck::collect aware of provided methods in traits. 2012-08-02 17:15:36 -07:00