Skip to content

Commit 270f151

Browse files
committed
rustc_mir_dataflow: Add exports for external tools
Added back previously available exports: * Forward/Backward: used when implementing `AnalysisDomain` * Engine: used in user's code to solve the dataflow problem * SwitchIntEdgeEffects: used when implementing functions of the `Analysis` trait * graphviz: potentially useful for debugging purposes These exports are used when implementing external tools based on MIR dataflow framework. Closes rust-lang#120130
1 parent 5378c1c commit 270f151

File tree

1 file changed

+3
-3
lines changed
  • compiler/rustc_mir_dataflow/src

1 file changed

+3
-3
lines changed

compiler/rustc_mir_dataflow/src/lib.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ pub use self::drop_flag_effects::{
2121
move_path_children_matching, on_all_children_bits, on_lookup_result_bits,
2222
};
2323
pub use self::framework::{
24-
fmt, lattice, visit_results, Analysis, AnalysisDomain, Direction, GenKill, GenKillAnalysis,
25-
JoinSemiLattice, MaybeReachable, Results, ResultsCursor, ResultsVisitable, ResultsVisitor,
24+
fmt, graphviz, lattice, visit_results, Analysis, AnalysisDomain, Backward, Direction, Engine,
25+
Forward, GenKill, GenKillAnalysis, JoinSemiLattice, MaybeReachable, Results, ResultsCursor,
26+
ResultsVisitable, ResultsVisitor, SwitchIntEdgeEffects,
2627
};
27-
use self::framework::{Backward, SwitchIntEdgeEffects};
2828
use self::move_paths::MoveData;
2929

3030
pub mod debuginfo;

0 commit comments

Comments
 (0)