Remove needless lifetimes

This commit is contained in:
Jeremy Stucki 2019-06-21 20:27:44 +02:00 committed by Jeremy Stucki
parent d50a3a7b86
commit ec711767a7
No known key found for this signature in database
GPG key ID: 8F548A5A2ED13F58
29 changed files with 99 additions and 99 deletions

View file

@ -123,8 +123,8 @@ pub fn compile_codegen_unit(tcx: TyCtxt<'tcx>, cgu_name: InternedString) {
submit_codegened_module_to_llvm(&LlvmCodegenBackend(()), tcx, module, cost);
fn module_codegen<'tcx>(
tcx: TyCtxt<'tcx>,
fn module_codegen(
tcx: TyCtxt<'_>,
cgu_name: InternedString,
) -> ModuleCodegen<ModuleLlvm> {
let cgu = tcx.codegen_unit(cgu_name);