• B
    mir: Add TerminatorKind::FalseUnwind · bdc37aa0
    bobtwinkles 提交于
    Sometimes a simple goto misses the cleanup/unwind edges. Specifically, in the
    case of infinite loops such as those introduced by a loop statement without any
    other out edges. Analogous to TerminatorKind::FalseEdges; this new terminator
    kind is used when we want borrowck to consider an unwind path, but real control
    flow should never actually take it.
    bdc37aa0
impls_mir.rs 20.9 KB