diff options
| author | Johann Hemmann <johann.hemmann@code.berlin> | 2024-01-19 17:53:09 +0100 |
|---|---|---|
| committer | Johann Hemmann <johann.hemmann@code.berlin> | 2024-01-19 17:53:09 +0100 |
| commit | 9dd07f0bc48e9e2af0d7af8df82660040f06f372 (patch) | |
| tree | ead0838ff99ab5baabc6acba1482db7ea52117a2 | |
| parent | 159b4c9fe9da6193b58dc01d213f04603e3509ec (diff) | |
| download | rust-9dd07f0bc48e9e2af0d7af8df82660040f06f372.tar.gz rust-9dd07f0bc48e9e2af0d7af8df82660040f06f372.zip | |
should_implement_trait
| -rw-r--r-- | crates/hir-ty/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/hir-ty/src/lib.rs b/crates/hir-ty/src/lib.rs index 61055583fc0..19052a18b19 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, |
