about summary refs log tree commit diff
path: root/src/librustc_codegen_llvm/debuginfo
diff options
context:
space:
mode:
authorEduard-Mihai Burtescu <edy.burt@gmail.com>2019-06-12 15:59:10 +0300
committerEduard-Mihai Burtescu <edy.burt@gmail.com>2019-06-12 16:02:03 +0300
commit87b6b864686eecd3c6ee7b6b3bba04f7d1f67be5 (patch)
tree649274056381d5d465ee5aa7117b91f5f97b2e92 /src/librustc_codegen_llvm/debuginfo
parentfff08cb04389497d254fb40948674cbbee402908 (diff)
downloadrust-87b6b864686eecd3c6ee7b6b3bba04f7d1f67be5.tar.gz
rust-87b6b864686eecd3c6ee7b6b3bba04f7d1f67be5.zip
rustc_codegen_llvm: `deny(unused_lifetimes)`.
Diffstat (limited to 'src/librustc_codegen_llvm/debuginfo')
-rw-r--r--src/librustc_codegen_llvm/debuginfo/metadata.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustc_codegen_llvm/debuginfo/metadata.rs b/src/librustc_codegen_llvm/debuginfo/metadata.rs
index c4d9f79e8d3..ac798143c00 100644
--- a/src/librustc_codegen_llvm/debuginfo/metadata.rs
+++ b/src/librustc_codegen_llvm/debuginfo/metadata.rs
@@ -222,8 +222,7 @@ impl TypeMap<'ll, 'tcx> {
     // Get the unique type id string for an enum variant part.
     // Variant parts are not types and shouldn't really have their own id,
     // but it makes set_members_of_composite_type() simpler.
-    fn get_unique_type_id_str_of_enum_variant_part<'a>(&mut self,
-                                                       enum_type_id: UniqueTypeId) -> &str {
+    fn get_unique_type_id_str_of_enum_variant_part(&mut self, enum_type_id: UniqueTypeId) -> &str {
         let variant_part_type_id = format!("{}_variant_part",
                                            self.get_unique_type_id_as_string(enum_type_id));
         let interner_key = self.unique_id_interner.intern(&variant_part_type_id);