about summary refs log tree commit diff
path: root/src/librustc_codegen_llvm/back
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_llvm/back
parent0477e072723438054ef8628ec33223cf94bacb69 (diff)
downloadrust-6ae80cf23f744566f2822861291abcfcdc6af5ce.tar.gz
rust-6ae80cf23f744566f2822861291abcfcdc6af5ce.zip
Remove needless lifetimes
Diffstat (limited to 'src/librustc_codegen_llvm/back')
-rw-r--r--src/librustc_codegen_llvm/back/write.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustc_codegen_llvm/back/write.rs b/src/librustc_codegen_llvm/back/write.rs
index 3638730707f..b135605cf02 100644
--- a/src/librustc_codegen_llvm/back/write.rs
+++ b/src/librustc_codegen_llvm/back/write.rs
@@ -239,9 +239,9 @@ impl<'a> Drop for DiagnosticHandlers<'a> {
     }
 }
 
-unsafe extern "C" fn report_inline_asm<'a, 'b>(cgcx: &'a CodegenContext<LlvmCodegenBackend>,
-                                               msg: &'b str,
-                                               cookie: c_uint) {
+unsafe extern "C" fn report_inline_asm(cgcx: &CodegenContext<LlvmCodegenBackend>,
+                                       msg: &str,
+                                       cookie: c_uint) {
     cgcx.diag_emitter.inline_asm_error(cookie as u32, msg.to_owned());
 }