diff options
| author | Leonora Tindall <nora@nora.codes> | 2020-10-21 09:51:13 -0500 |
|---|---|---|
| committer | Scott McMurray <scottmcm@users.noreply.github.com> | 2020-10-22 17:26:55 -0700 |
| commit | bc2317915f72d8b37367fe3db32e3a1aa20493eb (patch) | |
| tree | ccfcf3c028a2cac1226c2de2580bd35973f1fddf /compiler/rustc_data_structures/src/graph/iterate/mod.rs | |
| parent | 84daccc5596f6041a7593856aadd665341a3adb7 (diff) | |
| download | rust-bc2317915f72d8b37367fe3db32e3a1aa20493eb.tar.gz rust-bc2317915f72d8b37367fe3db32e3a1aa20493eb.zip | |
Don't re-export std::ops::ControlFlow in the compiler.
Diffstat (limited to 'compiler/rustc_data_structures/src/graph/iterate/mod.rs')
| -rw-r--r-- | compiler/rustc_data_structures/src/graph/iterate/mod.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/rustc_data_structures/src/graph/iterate/mod.rs b/compiler/rustc_data_structures/src/graph/iterate/mod.rs index c0c3260e2e2..5f42d46e285 100644 --- a/compiler/rustc_data_structures/src/graph/iterate/mod.rs +++ b/compiler/rustc_data_structures/src/graph/iterate/mod.rs @@ -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 |
