From c073f1fb038c73b58aa82a3dc0a96e435871f16a Mon Sep 17 00:00:00 2001 From: Brendan Hansknecht Date: Sat, 28 Dec 2024 11:56:11 -0800 Subject: [PATCH] clippy try 2 --- crates/compiler/build/src/llvm_passes.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/compiler/build/src/llvm_passes.rs b/crates/compiler/build/src/llvm_passes.rs index 4e197dce31..82d16b05cd 100644 --- a/crates/compiler/build/src/llvm_passes.rs +++ b/crates/compiler/build/src/llvm_passes.rs @@ -8,7 +8,7 @@ use std::path::Path; // // we also include a "globaldce" pass at the beginning of each pipeline here, which is required // to prevent bugs with the surgical linker, and also improves the build time. -pub fn get_llvm_passes_string<'a>(arena: &'a Bump, opt_level: OptLevel) -> &'a str { +pub fn get_llvm_passes_string(arena: &Bump, opt_level: OptLevel) -> &str { (String::from_str_in("globaldce,", arena) + match opt_level { OptLevel::Development | OptLevel::Normal => "default",