summary refs log tree commit diff
path: root/src/librustc_codegen_llvm/lib.rs
diff options
context:
space:
mode:
authorJeremy Stucki <jeremy@myelin.ch>2019-06-21 20:27:44 +0200
committerJeremy Stucki <stucki.jeremy@gmail.com>2019-07-03 10:01:02 +0200
commitec711767a7ac6911faae85d4b9285d07d5ebf949 (patch)
tree0eef0150e8781741914dd5f0821d810f602160cc /src/librustc_codegen_llvm/lib.rs
parentd50a3a7b8696975a2a1116f8c4eb4673271ae968 (diff)
downloadrust-ec711767a7ac6911faae85d4b9285d07d5ebf949.tar.gz
rust-ec711767a7ac6911faae85d4b9285d07d5ebf949.zip
Remove needless lifetimes
Diffstat (limited to 'src/librustc_codegen_llvm/lib.rs')
-rw-r--r--src/librustc_codegen_llvm/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_codegen_llvm/lib.rs b/src/librustc_codegen_llvm/lib.rs
index 7283aa95b30..e6630e18165 100644
--- a/src/librustc_codegen_llvm/lib.rs
+++ b/src/librustc_codegen_llvm/lib.rs
@@ -124,7 +124,7 @@ impl ExtraBackendMethods for LlvmCodegenBackend {
     ) {
         unsafe { allocator::codegen(tcx, mods, kind) }
     }
-    fn compile_codegen_unit<'tcx>(&self, tcx: TyCtxt<'tcx>, cgu_name: InternedString) {
+    fn compile_codegen_unit(&self, tcx: TyCtxt<'_>, cgu_name: InternedString) {
         base::compile_codegen_unit(tcx, cgu_name);
     }
     fn target_machine_factory(