Purge placement new; Make borrowck know about unary move.

cc #3071
This commit is contained in:
Niko Matsakis
2012-08-02 16:00:45 -07:00
parent c2bb2f0837
commit 31c5cec55b
26 changed files with 75 additions and 286 deletions

View File

@@ -81,7 +81,7 @@ enum def {
def_ty(def_id),
def_prim_ty(prim_ty),
def_ty_param(def_id, uint),
def_binding(node_id),
def_binding(node_id, binding_mode),
def_use(def_id),
def_upvar(node_id /* local id of closed over var */,
@def /* closed over def */,
@@ -342,10 +342,6 @@ enum expr_ {
expr_ret(option<@expr>),
expr_log(int, @expr, @expr),
expr_new(/* arena */ @expr,
/* id for the alloc() call */ node_id,
/* value */ @expr),
/* just an assert */
expr_assert(@expr),