Skip to main content

Module reconstruct_box_derefs

Module reconstruct_box_derefs 

Source
Expand description

Resugar the box derefs that got desugared in elaborated MIR.

In elaborated MIR, box derefs become actual accesses to the contained raw pointer. Under --treat-box-as-builtin, we convert these back to derefs on the box.

Structsยง

LocalStatus ๐Ÿ”’
LocalStatusCollector ๐Ÿ”’
Transform

Functionsยง

box_pointee_pointer_assignment ๐Ÿ”’
Look for
collect_local_status ๐Ÿ”’
rewrite_place ๐Ÿ”’