mirror of
https://github.com/rust-lang/rust
synced 2024-10-14 12:33:57 +00:00
Expand comment on disappearing edge.
This commit is contained in:
parent
a845bac6ba
commit
dd08dd42e5
|
@ -645,7 +645,7 @@ fn apply_once(&mut self, index: usize, body: &mut Body<'_>) {
|
|||
debug!(?current, ?succ);
|
||||
|
||||
// `succ` must be a successor of `current`. If it is not, this means this TO is not
|
||||
// satisfiable, so we bail out.
|
||||
// satisfiable and a previous TO erased this edge, so we bail out.
|
||||
if basic_blocks[current].terminator().successors().find(|s| *s == succ).is_none() {
|
||||
debug!("impossible");
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue