From 247f616370c24574c78337231ba60ee8ec91effc Mon Sep 17 00:00:00 2001 From: GnomedDev Date: Wed, 16 Oct 2024 21:34:48 +0100 Subject: [PATCH] Fix up remaining test lints --- tests/compile-test.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/compile-test.rs b/tests/compile-test.rs index 5774e20e0be5..60af8e4e1b0e 100644 --- a/tests/compile-test.rs +++ b/tests/compile-test.rs @@ -583,7 +583,7 @@ impl LintMetadata { } } - fn applicability_str(&self) -> &str { + fn applicability_str(&self) -> &'static str { match self.applicability { Applicability::MachineApplicable => "MachineApplicable", Applicability::HasPlaceholders => "HasPlaceholders",