about summary refs log tree commit diff
path: root/compiler/rustc_mir_dataflow
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2025-04-21 10:25:32 +1000
committerNicholas Nethercote <n.nethercote@gmail.com>2025-04-22 09:46:24 +1000
commit3bd1e1484f23e6062feaa6106ce73e459d892812 (patch)
tree863aea5aa586e52495ed4553c96638bc45597156 /compiler/rustc_mir_dataflow
parent55a80cc132ae68ef624b28b3b3e2cdd4b3585b24 (diff)
downloadrust-3bd1e1484f23e6062feaa6106ce73e459d892812.tar.gz
rust-3bd1e1484f23e6062feaa6106ce73e459d892812.zip
Remove unused `ResultsCursor` methods.
Diffstat (limited to 'compiler/rustc_mir_dataflow')
-rw-r--r--compiler/rustc_mir_dataflow/src/framework/cursor.rs15
1 files changed, 0 insertions, 15 deletions
diff --git a/compiler/rustc_mir_dataflow/src/framework/cursor.rs b/compiler/rustc_mir_dataflow/src/framework/cursor.rs
index c46ae9775cf..d5005768b80 100644
--- a/compiler/rustc_mir_dataflow/src/framework/cursor.rs
+++ b/compiler/rustc_mir_dataflow/src/framework/cursor.rs
@@ -114,26 +114,11 @@ where
         self.reachable_blocks.insert_all()
     }
 
-    /// Returns the underlying `Results`.
-    pub fn results(&self) -> &Results<'tcx, A> {
-        &self.results
-    }
-
-    /// Returns the underlying `Results`.
-    pub fn mut_results(&mut self) -> &mut Results<'tcx, A> {
-        &mut self.results
-    }
-
     /// Returns the `Analysis` used to generate the underlying `Results`.
     pub fn analysis(&self) -> &A {
         &self.results.analysis
     }
 
-    /// Returns the `Analysis` used to generate the underlying `Results`.
-    pub fn mut_analysis(&mut self) -> &mut A {
-        &mut self.results.analysis
-    }
-
     /// Resets the cursor to hold the entry set for the given basic block.
     ///
     /// For forward dataflow analyses, this is the dataflow state prior to the first statement.