Function debris_mir::mir_builder::exists_runtime_context
source · fn exists_runtime_context(
target_id: MirContextId,
contexts: &FxHashMap<MirContextId, MirContext>,
current_context: &MirContext
) -> bool
Expand description
Returns true if any context, that lies ‘between’ target_id
and current_context
, is marked as runtime context.
This is used to check whether a variable update can be performed at compile time