Skip to content

Commit b891a81

Browse files
committed
comment
1 parent 9e3f571 commit b891a81

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/librustc_mir/shim.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ fn build_drop_shim<'a, 'tcx>(tcx: TyCtxt<'a, 'tcx, 'tcx>,
222222
);
223223

224224
if let Some(..) = ty {
225+
// The first argument (index 0), but add 1 for the return value.
225226
let dropee_ptr = Place::Local(Local::new(1+0));
226227
if tcx.sess.opts.debugging_opts.mir_emit_retag {
227228
// We use raw ptr operations, better prepare the alias tracking for that

0 commit comments

Comments
 (0)