diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-11-24 11:28:21 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-11-27 10:35:43 +1100 |
| commit | e966c894179969e22d51982ac85da58e8b8862bb (patch) | |
| tree | ea12e6489a662ac06613d556fb8f32e0c8269bac /compiler/rustc_mir_dataflow/src/framework/mod.rs | |
| parent | 34aa36b266f4e94c73392353e5651797997f5845 (diff) | |
| download | rust-e966c894179969e22d51982ac85da58e8b8862bb.tar.gz rust-e966c894179969e22d51982ac85da58e8b8862bb.zip | |
Deparameterize `Results` and `ResultsCursor`.
They both now only ever contain a `Results<'tcx, A>`. This means `AnalysisResults` can be removed, as can many `borrow`/`borrow_mut` calls. Also `Results` no longer needs a `PhantomData` because `'tcx` is now named by `entry_sets`.
Diffstat (limited to 'compiler/rustc_mir_dataflow/src/framework/mod.rs')
| -rw-r--r-- | compiler/rustc_mir_dataflow/src/framework/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir_dataflow/src/framework/mod.rs b/compiler/rustc_mir_dataflow/src/framework/mod.rs index 71dff5181cc..b7dfbe0710d 100644 --- a/compiler/rustc_mir_dataflow/src/framework/mod.rs +++ b/compiler/rustc_mir_dataflow/src/framework/mod.rs @@ -47,7 +47,7 @@ mod visitor; pub use self::cursor::ResultsCursor; pub use self::direction::{Backward, Direction, Forward}; -pub use self::engine::{Engine, EntrySets, Results}; +pub use self::engine::{Engine, Results}; pub use self::lattice::{JoinSemiLattice, MaybeReachable}; pub use self::visitor::{visit_results, ResultsVisitable, ResultsVisitor}; |
