Skip to content

Commit

Permalink
Expand comment on disappearing edge.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjgillot committed Oct 20, 2023
1 parent 3b292ea commit 70ebd1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_mir_transform/src/jump_threading.rs
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ impl OpportunitySet {
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;
Expand Down

0 comments on commit 70ebd1a

Please sign in to comment.