Don't re-export std::ops::ControlFlow in the compiler.

This commit is contained in:
Leonora Tindall 2020-10-21 09:51:13 -05:00 committed by Scott McMurray
parent 84daccc559
commit bc2317915f
2 changed files with 3 additions and 4 deletions

View file

@ -1,6 +1,7 @@
use super::{DirectedGraph, WithNumNodes, WithStartNode, WithSuccessors};
use rustc_index::bit_set::BitSet;
use rustc_index::vec::IndexVec;
use std::ops::ControlFlow;
#[cfg(test)]
mod tests;
@ -86,9 +87,6 @@ where
}
}
/// Allows searches to terminate early with a value.
pub use std::ops::ControlFlow;
/// The status of a node in the depth-first search.
///
/// See the documentation of `TriColorDepthFirstSearch` to see how a node's status is updated