clippy_utils::mir

Function block_in_cycle

Source
pub fn block_in_cycle(body: &Body<'_>, block: BasicBlock) -> bool
Expand description

Checks if the block is part of a cycle