rustc_mir_transform::dest_prop

Function is_local_required

Source
fn is_local_required(local: Local, body: &Body<'_>) -> bool
Expand description

Some locals are part of the function’s interface and can not be removed.

Note that these locals can still be merged with non-required locals by removing that other local.