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 39135ec commit a1c95ecCopy full SHA for a1c95ec
src/librustc/middle/trans/callee.rs
@@ -887,6 +887,7 @@ pub fn trans_call_inner<'a>(
887
(Some(expr::Ignore), Some(llretslot)) => {
888
// drop the value if it is not being saved.
889
bcx = glue::drop_ty(bcx, llretslot, ret_ty);
890
+ call_lifetime_end(bcx, llretslot);
891
}
892
_ => {}
893
0 commit comments