Fix clippy warning in nightly CI
This commit is contained in:
parent
9e04d648ca
commit
9dab2f5b1f
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user