rustc_codegen_llvm: deny(unused_lifetimes).

This commit is contained in:
Eduard-Mihai Burtescu 2019-06-12 15:59:10 +03:00
parent fff08cb043
commit 87b6b86468
6 changed files with 11 additions and 13 deletions

View file

@ -41,7 +41,7 @@ use rustc::hir::CodegenFnAttrs;
use crate::value::Value;
pub fn write_compressed_metadata<'a, 'gcx>(
pub fn write_compressed_metadata<'gcx>(
tcx: TyCtxt<'gcx, 'gcx>,
metadata: &EncodedMetadata,
llvm_module: &mut ModuleLlvm,
@ -123,7 +123,7 @@ pub fn compile_codegen_unit(tcx: TyCtxt<'tcx, 'tcx>, cgu_name: InternedString) {
submit_codegened_module_to_llvm(&LlvmCodegenBackend(()), tcx, module, cost);
fn module_codegen<'ll, 'tcx>(
fn module_codegen<'tcx>(
tcx: TyCtxt<'tcx, 'tcx>,
cgu_name: InternedString,
) -> ModuleCodegen<ModuleLlvm> {