Unnamed repository; edit this file 'description' to name the repository.
should_implement_trait
Johann Hemmann 2024-01-19
parent 159b4c9 · commit 9dd07f0
-rw-r--r--crates/hir-ty/src/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/hir-ty/src/lib.rs b/crates/hir-ty/src/lib.rs
index 61055583fc..19052a18b1 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,