Skip to content

Commit 3bd1e14

Browse files
committed
Remove unused ResultsCursor methods.
1 parent 55a80cc commit 3bd1e14

File tree

1 file changed

+0
-15
lines changed
  • compiler/rustc_mir_dataflow/src/framework

1 file changed

+0
-15
lines changed

compiler/rustc_mir_dataflow/src/framework/cursor.rs

-15
Original file line numberDiff line numberDiff line change
@@ -114,26 +114,11 @@ where
114114
self.reachable_blocks.insert_all()
115115
}
116116

117-
/// Returns the underlying `Results`.
118-
pub fn results(&self) -> &Results<'tcx, A> {
119-
&self.results
120-
}
121-
122-
/// Returns the underlying `Results`.
123-
pub fn mut_results(&mut self) -> &mut Results<'tcx, A> {
124-
&mut self.results
125-
}
126-
127117
/// Returns the `Analysis` used to generate the underlying `Results`.
128118
pub fn analysis(&self) -> &A {
129119
&self.results.analysis
130120
}
131121

132-
/// Returns the `Analysis` used to generate the underlying `Results`.
133-
pub fn mut_analysis(&mut self) -> &mut A {
134-
&mut self.results.analysis
135-
}
136-
137122
/// Resets the cursor to hold the entry set for the given basic block.
138123
///
139124
/// For forward dataflow analyses, this is the dataflow state prior to the first statement.

0 commit comments

Comments
 (0)