diff --git a/src/debuginfo.rs b/src/debuginfo.rs index e0597d0030d5..3a265fbc64f8 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.location - } } /// Generate the `debug_context` in an MIR Body.