about summary refs log tree commit diff
path: root/src/librustc_codegen_llvm
diff options
context:
space:
mode:
authorGabriela Alexandra Moldovan <gabi_250@live.com>2019-03-04 16:56:57 +0000
committerGabriela Alexandra Moldovan <gabi_250@live.com>2019-03-04 23:49:04 +0000
commitcd9a0cf53776cc2b36898a530d20b6046875a510 (patch)
treeadad83c589f11234c66292e41d1e2fb9ce4e5e3e /src/librustc_codegen_llvm
parenta9da8fc9c267c08cfdb8cf5b39da14f154d12939 (diff)
downloadrust-cd9a0cf53776cc2b36898a530d20b6046875a510.tar.gz
rust-cd9a0cf53776cc2b36898a530d20b6046875a510.zip
Make the lifetime parameters of tcx consistent.
Diffstat (limited to 'src/librustc_codegen_llvm')
-rw-r--r--src/librustc_codegen_llvm/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/librustc_codegen_llvm/lib.rs b/src/librustc_codegen_llvm/lib.rs
index 5b8c7461bcb..258391ba836 100644
--- a/src/librustc_codegen_llvm/lib.rs
+++ b/src/librustc_codegen_llvm/lib.rs
@@ -123,9 +123,9 @@ impl ExtraBackendMethods for LlvmCodegenBackend {
     ) -> EncodedMetadata {
         base::write_metadata(tcx, metadata)
     }
-    fn codegen_allocator(
+    fn codegen_allocator<'b, 'gcx>(
         &self,
-        tcx: TyCtxt<'_, '_, '_>,
+        tcx: TyCtxt<'b, 'gcx, 'gcx>,
         mods: &mut ModuleLlvm,
         kind: AllocatorKind
     ) {