rust/src/librustc_borrowck
Felix S. Klock II 1702098e6f Dataflow changes and associated borrowck fix.
Revise rustc::middle::dataflow: one must select kill-kind when calling
add_kill. The current kill-kinds are (1.) kills associated with
ends-of-scopes and (2.) kills associated with the actual action of the
expression/pattern.

Then, use this to fix borrowck analysis so that it will not treat a
break that pops through an assignment `x = { ... break; ... }` as a
kill of the "moved-out" bit for `x`.

Fix #24267.

(incorporated review feedback.)
2015-04-15 18:16:40 +02:00
..
borrowck Dataflow changes and associated borrowck fix. 2015-04-15 18:16:40 +02:00
diagnostics.rs Improve error message where a closure escapes fn while trying to borrow 2015-04-10 06:11:28 -04:00
graphviz.rs Fallout out rustc 2015-04-01 11:22:39 -04:00
lib.rs Improve error message where a closure escapes fn while trying to borrow 2015-04-10 06:11:28 -04:00