about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-06-03 10:00:11 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-06-03 10:00:11 +0000
commit6c982df82dbe9061e420d0fecd5202ec431b4d3c (patch)
treea860f13e5fed8de630e0c0fa7f73a4497f7b163e
parentf383b17668e0f564aae978f01d8eef7b115aa8ca (diff)
downloadrust-6c982df82dbe9061e420d0fecd5202ec431b4d3c.tar.gz
rust-6c982df82dbe9061e420d0fecd5202ec431b4d3c.zip
Remove get_dbg_loc from DebugInfoBuilderMethods
It is only used within cg_llvm.
-rw-r--r--src/debuginfo.rs4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/debuginfo.rs b/src/debuginfo.rs
index e0597d0030d..3a265fbc64f 100644
--- a/src/debuginfo.rs
+++ b/src/debuginfo.rs
@@ -52,10 +52,6 @@ impl<'a, 'gcc, 'tcx> DebugInfoBuilderMethods for Builder<'a, 'gcc, 'tcx> {
     fn clear_dbg_loc(&mut self) {
         self.location = None;
     }
-
-    fn get_dbg_loc(&self) -> Option<Self::DILocation> {
-        self.location
-    }
 }
 
 /// Generate the `debug_context` in an MIR Body.