diff --git a/ruma-api-macros/src/lib.rs b/ruma-api-macros/src/lib.rs index b8e39bde..cad8e4a9 100644 --- a/ruma-api-macros/src/lib.rs +++ b/ruma-api-macros/src/lib.rs @@ -6,6 +6,9 @@ //! `ruma_api!` macro is only documented in ruma-api, not here. #![allow(clippy::cognitive_complexity)] +// Remove this once https://github.com/rust-lang/rust/issues/54883 becomes stable +#![allow(clippy::unnested_or_patterns)] +#![allow(clippy::unknown_clippy_lints)] #![recursion_limit = "256"] extern crate proc_macro; diff --git a/ruma-events-macros/src/lib.rs b/ruma-events-macros/src/lib.rs index d07d5830..84b4a5e1 100644 --- a/ruma-events-macros/src/lib.rs +++ b/ruma-events-macros/src/lib.rs @@ -2,6 +2,7 @@ //! [ruma-events](https://github.com/ruma/ruma-events) events. //! //! See the documentation for the individual macros for usage details. + #![deny(missing_copy_implementations, missing_debug_implementations, missing_docs)] extern crate proc_macro; diff --git a/ruma-events/src/lib.rs b/ruma-events/src/lib.rs index 93a71b0f..02e7ce13 100644 --- a/ruma-events/src/lib.rs +++ b/ruma-events/src/lib.rs @@ -113,6 +113,9 @@ #![warn(missing_debug_implementations, missing_docs, rust_2018_idioms)] // Since we support Rust 1.36.0, we can't apply this suggestion yet #![allow(clippy::use_self)] +// Remove this once https://github.com/rust-lang/rust/issues/54883 becomes stable +#![allow(clippy::unnested_or_patterns)] +#![allow(clippy::unknown_clippy_lints)] use std::fmt::Debug;