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 cf62b54 commit 5e5112dCopy full SHA for 5e5112d
src/boot/me/trans.ml
@@ -2883,11 +2883,13 @@ let trans_visitor
2883
patch null_jmp;
2884
note_drop_step ty "drop_ty: done box-drop path";
2885
2886
- | MEM_interior when type_points_to_heap ty ->
2887
- note_drop_step ty "drop_ty heap-referencing path";
+ | MEM_interior
+ when type_points_to_heap ty || (n_used_type_params ty > 0) ->
2888
+ note_drop_step ty "drop_ty possibly-heap-referencing path";
2889
iter_ty_parts ty_params cell ty
2890
(drop_ty ty_params) curr_iso;
- note_drop_step ty "drop_ty: done heap-referencing path";
2891
+ note_drop_step ty
2892
+ "drop_ty: done possibly-heap-referencing path";
2893
2894
2895
| MEM_interior ->
0 commit comments