Skip to main content

expr_can_move

Function expr_can_move 

Source
pub fn expr_can_move(expr: &Expr) -> bool
Expand description

Can this expression be moved (not cloned)? Checks last_use on Resolved nodes; Ident without local_types entry is treated as a global (always moveable).