From 9dd07f0bc48e9e2af0d7af8df82660040f06f372 Mon Sep 17 00:00:00 2001 From: Johann Hemmann Date: Fri, 19 Jan 2024 17:53:09 +0100 Subject: [PATCH] should_implement_trait --- crates/hir-ty/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/hir-ty/src/lib.rs b/crates/hir-ty/src/lib.rs index 61055583fc0d..19052a18b192 100644 --- a/crates/hir-ty/src/lib.rs +++ b/crates/hir-ty/src/lib.rs @@ -414,6 +414,7 @@ impl Hash for FnAbi { } impl FnAbi { + #[allow(clippy::should_implement_trait)] pub fn from_str(s: &str) -> FnAbi { match s { "aapcs-unwind" => FnAbi::AapcsUnwind,