diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-06-27 17:48:46 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-27 17:48:46 +0200 |
| commit | 1dc29bbfd685ef6debbb1a0a08648b1820701f48 (patch) | |
| tree | 8a358a0269a2d5858593be4236cb2cc9af56ba43 | |
| parent | 526326e10de479c4e8b1f33dc6b2c2f442b5c4f4 (diff) | |
| parent | 3224ea44244d1a86dc4cd618ccaec2ea188ea230 (diff) | |
| download | rust-1dc29bbfd685ef6debbb1a0a08648b1820701f48.tar.gz rust-1dc29bbfd685ef6debbb1a0a08648b1820701f48.zip | |
Rollup merge of #113089 - floriangru:mut_analyses_followup, r=oli-obk
Export AnalysisResults trait in rustc_mir_dataflow Followup to https://github.com/rust-lang/rust/pull/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.
| -rw-r--r-- | compiler/rustc_mir_dataflow/src/framework/mod.rs | 2 | ||||
| -rw-r--r-- | compiler/rustc_mir_dataflow/src/lib.rs | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/compiler/rustc_mir_dataflow/src/framework/mod.rs b/compiler/rustc_mir_dataflow/src/framework/mod.rs index e5e9c1507ba..58df9b9a768 100644 --- a/compiler/rustc_mir_dataflow/src/framework/mod.rs +++ b/compiler/rustc_mir_dataflow/src/framework/mod.rs @@ -45,7 +45,7 @@ pub mod graphviz; pub mod lattice; mod visitor; -pub use self::cursor::{ResultsClonedCursor, ResultsCursor, ResultsRefCursor}; +pub use self::cursor::{AnalysisResults, ResultsClonedCursor, ResultsCursor, ResultsRefCursor}; pub use self::direction::{Backward, Direction, Forward}; pub use self::engine::{Engine, EntrySets, Results, ResultsCloned}; pub use self::lattice::{JoinSemiLattice, MeetSemiLattice}; diff --git a/compiler/rustc_mir_dataflow/src/lib.rs b/compiler/rustc_mir_dataflow/src/lib.rs index 3494a37c3cf..900d438f8d5 100644 --- a/compiler/rustc_mir_dataflow/src/lib.rs +++ b/compiler/rustc_mir_dataflow/src/lib.rs @@ -27,10 +27,10 @@ pub use self::drop_flag_effects::{ on_lookup_result_bits, }; pub use self::framework::{ - fmt, graphviz, lattice, visit_results, Analysis, AnalysisDomain, Backward, CallReturnPlaces, - CloneAnalysis, Direction, Engine, Forward, GenKill, GenKillAnalysis, JoinSemiLattice, Results, - ResultsCloned, ResultsClonedCursor, ResultsCursor, ResultsRefCursor, ResultsVisitable, - ResultsVisitor, SwitchIntEdgeEffects, + fmt, graphviz, lattice, visit_results, Analysis, AnalysisDomain, AnalysisResults, Backward, + CallReturnPlaces, CloneAnalysis, Direction, Engine, Forward, GenKill, GenKillAnalysis, + JoinSemiLattice, Results, ResultsCloned, ResultsClonedCursor, ResultsCursor, ResultsRefCursor, + ResultsVisitable, ResultsVisitor, SwitchIntEdgeEffects, }; use self::move_paths::MoveData; |
