From 8b9e3f0dd6fcfb30162e5a54af9f82fbbcd56a05 Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Thu, 20 Jul 2023 14:33:27 +1000 Subject: [PATCH] Remove an unnecessary `pub`. --- compiler/rustc_codegen_ssa/src/back/write.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_codegen_ssa/src/back/write.rs b/compiler/rustc_codegen_ssa/src/back/write.rs index 5ce39e88ca3..fcaae23d0b4 100644 --- a/compiler/rustc_codegen_ssa/src/back/write.rs +++ b/compiler/rustc_codegen_ssa/src/back/write.rs @@ -2057,7 +2057,7 @@ pub fn submit_pre_lto_module_to_llvm( }))); } -pub fn pre_lto_bitcode_filename(module_name: &str) -> String { +fn pre_lto_bitcode_filename(module_name: &str) -> String { format!("{module_name}.{PRE_LTO_BC_EXT}") }