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 88ec89d commit 4999d44Copy full SHA for 4999d44
src/librustc/middle/trans/base.rs
@@ -1258,7 +1258,7 @@ pub fn trans_block_cleanups(bcx: block, cleanups: ~[cleanup]) -> block {
1258
}
1259
1260
pub fn trans_block_cleanups_(bcx: block,
1261
- cleanups: ~[cleanup],
+ cleanups: &[cleanup],
1262
/* cleanup_cx: block, */
1263
is_lpad: bool) -> block {
1264
let _icx = bcx.insn_ctxt("trans_block_cleanups");
@@ -1317,7 +1317,7 @@ pub fn cleanup_and_leave(bcx: block,
1317
dest: sub_cx.llbb
1318
});
1319
bcx = trans_block_cleanups_(sub_cx,
1320
- block_cleanups(cur),
+ inf.cleanups,
1321
is_lpad);
1322
1323
_ => ()
0 commit comments