diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-07-20 14:33:27 +1000 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-07-31 16:21:00 +1000 |
| commit | 8b9e3f0dd6fcfb30162e5a54af9f82fbbcd56a05 (patch) | |
| tree | 4446e52c25ce7d2dc9f1c1b55339cca4a90aab0a /compiler/rustc_codegen_ssa/src/back | |
| parent | f81fe9d702c936bc32fb3df8e58c02409a7e36dc (diff) | |
| download | rust-8b9e3f0dd6fcfb30162e5a54af9f82fbbcd56a05.tar.gz rust-8b9e3f0dd6fcfb30162e5a54af9f82fbbcd56a05.zip | |
Remove an unnecessary `pub`.
Diffstat (limited to 'compiler/rustc_codegen_ssa/src/back')
| -rw-r--r-- | compiler/rustc_codegen_ssa/src/back/write.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<B: ExtraBackendMethods>( }))); } -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}") } |
