about summary refs log tree commit diff
path: root/src/librustc_codegen_ssa/debuginfo/mod.rs
diff options
context:
space:
mode:
authorJeremy Stucki <jeremy@myelin.ch>2019-06-21 18:51:27 +0200
committerJeremy Stucki <stucki.jeremy@gmail.com>2019-07-03 10:01:01 +0200
commit6ae80cf23f744566f2822861291abcfcdc6af5ce (patch)
tree5b36d5eb40c99ee9892b05e6c94e367d3f4d9302 /src/librustc_codegen_ssa/debuginfo/mod.rs
parent0477e072723438054ef8628ec33223cf94bacb69 (diff)
downloadrust-6ae80cf23f744566f2822861291abcfcdc6af5ce.tar.gz
rust-6ae80cf23f744566f2822861291abcfcdc6af5ce.zip
Remove needless lifetimes
Diffstat (limited to 'src/librustc_codegen_ssa/debuginfo/mod.rs')
-rw-r--r--src/librustc_codegen_ssa/debuginfo/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_codegen_ssa/debuginfo/mod.rs b/src/librustc_codegen_ssa/debuginfo/mod.rs
index d60a2e0cb13..c9b1c0260e8 100644
--- a/src/librustc_codegen_ssa/debuginfo/mod.rs
+++ b/src/librustc_codegen_ssa/debuginfo/mod.rs
@@ -10,7 +10,7 @@ pub enum FunctionDebugContext<D> {
 }
 
 impl<D> FunctionDebugContext<D> {
-    pub fn get_ref<'a>(&'a self, span: Span) -> &'a FunctionDebugContextData<D> {
+    pub fn get_ref(&self, span: Span) -> &FunctionDebugContextData<D> {
         match *self {
             FunctionDebugContext::RegularContext(ref data) => data,
             FunctionDebugContext::DebugInfoDisabled => {