Skip to content

Commit 1dc29bb

Browse files
authored
Rollup merge of rust-lang#113089 - floriangru:mut_analyses_followup, r=oli-obk
Export AnalysisResults trait in rustc_mir_dataflow Followup to rust-lang#108293 Re-exports the new trait defined in mentioned PR to make ResultsCursor::seek_before_primary_effect, ResultsCursor::seek_after_primary_effect... usable again outside the compiler itself.
2 parents 526326e + 3224ea4 commit 1dc29bb

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

compiler/rustc_mir_dataflow/src/framework/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ pub mod graphviz;
4545
pub mod lattice;
4646
mod visitor;
4747

48-
pub use self::cursor::{ResultsClonedCursor, ResultsCursor, ResultsRefCursor};
48+
pub use self::cursor::{AnalysisResults, ResultsClonedCursor, ResultsCursor, ResultsRefCursor};
4949
pub use self::direction::{Backward, Direction, Forward};
5050
pub use self::engine::{Engine, EntrySets, Results, ResultsCloned};
5151
pub use self::lattice::{JoinSemiLattice, MeetSemiLattice};

compiler/rustc_mir_dataflow/src/lib.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ pub use self::drop_flag_effects::{
2727
on_lookup_result_bits,
2828
};
2929
pub use self::framework::{
30-
fmt, graphviz, lattice, visit_results, Analysis, AnalysisDomain, Backward, CallReturnPlaces,
31-
CloneAnalysis, Direction, Engine, Forward, GenKill, GenKillAnalysis, JoinSemiLattice, Results,
32-
ResultsCloned, ResultsClonedCursor, ResultsCursor, ResultsRefCursor, ResultsVisitable,
33-
ResultsVisitor, SwitchIntEdgeEffects,
30+
fmt, graphviz, lattice, visit_results, Analysis, AnalysisDomain, AnalysisResults, Backward,
31+
CallReturnPlaces, CloneAnalysis, Direction, Engine, Forward, GenKill, GenKillAnalysis,
32+
JoinSemiLattice, Results, ResultsCloned, ResultsClonedCursor, ResultsCursor, ResultsRefCursor,
33+
ResultsVisitable, ResultsVisitor, SwitchIntEdgeEffects,
3434
};
3535

3636
use self::move_paths::MoveData;

0 commit comments

Comments
 (0)