Fix clippy warning in nightly CI

This commit is contained in:
Ragotzy.devin 2020-06-13 08:02:53 -04:00 committed by GitHub
parent 9e04d648ca
commit 9dab2f5b1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 0 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;