From 69687aa51954ac7fb9b412789680837a63b14ddc Mon Sep 17 00:00:00 2001 From: Gwilym Inzani Date: Sun, 23 Apr 2023 17:58:45 +0100 Subject: [PATCH] Import all the denys from the main crate --- agb-hashmap/src/lib.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/agb-hashmap/src/lib.rs b/agb-hashmap/src/lib.rs index 350f2206..5283605e 100644 --- a/agb-hashmap/src/lib.rs +++ b/agb-hashmap/src/lib.rs @@ -3,7 +3,17 @@ #![no_std] #![feature(allocator_api)] #![deny(clippy::all)] +#![deny(clippy::must_use_candidate)] #![deny(missing_docs)] +#![deny(clippy::trivially_copy_pass_by_ref)] +#![deny(clippy::semicolon_if_nothing_returned)] +#![deny(clippy::map_unwrap_or)] +#![deny(clippy::needless_pass_by_value)] +#![deny(clippy::redundant_closure_for_method_calls)] +#![deny(clippy::cloned_instead_of_copied)] +#![deny(rustdoc::broken_intra_doc_links)] +#![deny(rustdoc::private_intra_doc_links)] +#![deny(rustdoc::invalid_html_tags)] extern crate alloc; @@ -1091,6 +1101,7 @@ mod test { } impl NoisyDrop { + #[cfg(not(miri))] fn new(i: i32) -> Self { Self { i, dropped: false } }