[−][src]Function rustc_mir::transform::elaborate_drops::find_dead_unwinds
fn find_dead_unwinds<'a, 'tcx>(
tcx: TyCtxt<'a, 'tcx, 'tcx>,
mir: &Mir<'tcx>,
id: NodeId,
env: &MoveDataParamEnv<'tcx, 'tcx>
) -> IdxSet<BasicBlock>
🔬 This is a nightly-only experimental API. (rustc_private
)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml
instead?
Return the set of basic blocks whose unwind edges are known
to not be reachable, because they are drop
terminators
that can't drop anything.