From cd9a0cf53776cc2b36898a530d20b6046875a510 Mon Sep 17 00:00:00 2001 From: Gabriela Alexandra Moldovan Date: Mon, 4 Mar 2019 16:56:57 +0000 Subject: Make the lifetime parameters of tcx consistent. --- src/librustc_codegen_llvm/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/librustc_codegen_llvm') 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 ) { -- cgit 1.4.1-3-g733a5