diff options
Diffstat (limited to 'crates/arti-hyper')
| -rw-r--r-- | crates/arti-hyper/examples/hyper.rs | 9 | ||||
| -rw-r--r-- | crates/arti-hyper/src/lib.rs | 3 |
2 files changed, 12 insertions, 0 deletions
diff --git a/crates/arti-hyper/examples/hyper.rs b/crates/arti-hyper/examples/hyper.rs index 25bac0b73..c8c27eb47 100644 --- a/crates/arti-hyper/examples/hyper.rs +++ b/crates/arti-hyper/examples/hyper.rs @@ -1,3 +1,12 @@ +// @@ begin test lint list maintained by maint/add_warning @@ +#![allow(clippy::bool_assert_comparison)] +#![allow(clippy::clone_on_copy)] +#![allow(clippy::dbg_macro)] +#![allow(clippy::print_stderr)] +#![allow(clippy::print_stdout)] +#![allow(clippy::unwrap_used)] +//! <!-- @@ end test lint list maintained by maint/add_warning @@ --> + use arti_hyper::*; use anyhow::Result; diff --git a/crates/arti-hyper/src/lib.rs b/crates/arti-hyper/src/lib.rs index 9ad81e7d5..14d582ab5 100644 --- a/crates/arti-hyper/src/lib.rs +++ b/crates/arti-hyper/src/lib.rs @@ -9,6 +9,8 @@ //! [`hyper.rs`]: <https://gitlab.torproject.org/tpo/core/arti/-/blob/main/crates/arti-hyper/examples/hyper.rs> // @@ begin lint list maintained by maint/add_warning @@ +#![cfg_attr(not(ci_arti_stable), allow(renamed_and_removed_lints))] +#![cfg_attr(not(ci_arti_nightly), allow(unknown_lints))] #![deny(missing_docs)] #![warn(noop_method_call)] #![deny(unreachable_pub)] @@ -39,6 +41,7 @@ #![warn(clippy::unseparated_literal_suffix)] #![deny(clippy::unwrap_used)] #![allow(clippy::let_unit_value)] // This can reasonably be done for explicitness +#![allow(clippy::significant_drop_in_scrutinee)] // arti/-/merge_requests/588/#note_2812945 //! <!-- @@ end lint list maintained by maint/add_warning @@ --> use std::future::Future; |
