We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66cea37 commit db679a7Copy full SHA for db679a7
src/rustc/middle/trans/datum.rs
@@ -336,9 +336,6 @@ impl Datum {
336
// This works like copy_val, except that it deinitializes the source.
337
// Since it needs to zero out the source, src also needs to be an lval.
338
//
339
- // FIXME (#839): We always zero out the source. Ideally we would
340
- // detect the case where a variable is always deinitialized by
341
- // block exit and thus doesn't need to be dropped.
342
fn move_to(bcx: block, action: CopyAction, dst: ValueRef) -> block {
343
let _icx = bcx.insn_ctxt("move_to");
344
let mut bcx = bcx;
0 commit comments