Allow buggy clippy lint on a per-crate basis
The previous method of allowing it through .cargo/config.toml doesn't seem to work anymore.
This commit is contained in:
parent
3d65c1e957
commit
56cf3ce94c
@ -44,8 +44,6 @@ rustflags = [
|
||||
"-Wclippy::unreadable_literal",
|
||||
"-Wclippy::unseparated_literal_suffix",
|
||||
"-Wclippy::wildcard_imports",
|
||||
# https://github.com/rust-lang/rust-clippy/issues/8875
|
||||
"-Aclippy::derive_partial_eq_without_eq",
|
||||
]
|
||||
|
||||
# activate the target-applies-to-host feature.
|
||||
|
@ -6,6 +6,8 @@
|
||||
//! [client-api]: https://spec.matrix.org/v1.2/client-server-api/
|
||||
|
||||
#![warn(missing_docs)]
|
||||
// https://github.com/rust-lang/rust-clippy/issues/8875
|
||||
#![allow(clippy::derive_partial_eq_without_eq)]
|
||||
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
|
||||
|
||||
pub mod account;
|
||||
|
@ -4,6 +4,8 @@
|
||||
|
||||
#![recursion_limit = "1024"]
|
||||
#![warn(missing_docs)]
|
||||
// https://github.com/rust-lang/rust-clippy/issues/8875
|
||||
#![allow(clippy::derive_partial_eq_without_eq)]
|
||||
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
|
||||
|
||||
#[cfg(not(all(feature = "client", feature = "server")))]
|
||||
|
@ -1,3 +1,6 @@
|
||||
// https://github.com/rust-lang/rust-clippy/issues/8875
|
||||
#![allow(clippy::derive_partial_eq_without_eq)]
|
||||
|
||||
mod string {
|
||||
use serde::{Deserialize, Serialize};
|
||||
use serde_json::{from_value as from_json_value, json, to_value as to_json_value};
|
||||
|
@ -1,3 +1,6 @@
|
||||
// https://github.com/rust-lang/rust-clippy/issues/8875
|
||||
#![allow(clippy::derive_partial_eq_without_eq)]
|
||||
|
||||
use ruma_common::serde::StringEnum;
|
||||
use serde_json::{from_value as from_json_value, json, to_value as to_json_value};
|
||||
|
||||
|
@ -1,3 +1,6 @@
|
||||
// https://github.com/rust-lang/rust-clippy/issues/8875
|
||||
#![allow(clippy::derive_partial_eq_without_eq)]
|
||||
|
||||
use assert_matches::assert_matches;
|
||||
use form_urlencoded::Serializer as Encoder;
|
||||
use ruma_common::serde::urlencoded;
|
||||
|
@ -5,6 +5,8 @@
|
||||
//! See the documentation for the individual macros for usage details.
|
||||
|
||||
#![warn(missing_docs)]
|
||||
// https://github.com/rust-lang/rust-clippy/issues/8875
|
||||
#![allow(clippy::derive_partial_eq_without_eq)]
|
||||
|
||||
use identifiers::expand_id_zst;
|
||||
use proc_macro::TokenStream;
|
||||
|
@ -4,6 +4,8 @@
|
||||
//! `.cargo/config`. Run commands as `cargo xtask [command]`.
|
||||
|
||||
#![allow(clippy::exhaustive_structs)]
|
||||
// https://github.com/rust-lang/rust-clippy/issues/8875
|
||||
#![allow(clippy::derive_partial_eq_without_eq)]
|
||||
|
||||
use std::path::PathBuf;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user