mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-06-14 07:01:02 +00:00
Opt in to pedantic clippy lints in serde_derive_internals
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
#![doc(html_root_url = "https://docs.rs/serde_derive_internals/0.25.0")]
|
#![doc(html_root_url = "https://docs.rs/serde_derive_internals/0.25.0")]
|
||||||
#![allow(unknown_lints, bare_trait_objects)]
|
#![allow(unknown_lints, bare_trait_objects)]
|
||||||
#![deny(clippy::all)]
|
#![deny(clippy::all, clippy::pedantic)]
|
||||||
|
// Ignored clippy lints
|
||||||
#![allow(
|
#![allow(
|
||||||
clippy::cognitive_complexity,
|
clippy::cognitive_complexity,
|
||||||
clippy::redundant_field_names,
|
clippy::redundant_field_names,
|
||||||
@@ -11,6 +12,18 @@
|
|||||||
// clippy bug: https://github.com/rust-lang/rust-clippy/issues/5704
|
// clippy bug: https://github.com/rust-lang/rust-clippy/issues/5704
|
||||||
clippy::unnested_or_patterns,
|
clippy::unnested_or_patterns,
|
||||||
)]
|
)]
|
||||||
|
// Ignored clippy_pedantic lints
|
||||||
|
#![allow(
|
||||||
|
clippy::doc_markdown,
|
||||||
|
clippy::enum_glob_use,
|
||||||
|
clippy::items_after_statements,
|
||||||
|
clippy::match_same_arms,
|
||||||
|
clippy::missing_errors_doc,
|
||||||
|
clippy::must_use_candidate,
|
||||||
|
clippy::struct_excessive_bools,
|
||||||
|
clippy::too_many_lines,
|
||||||
|
clippy::wildcard_imports
|
||||||
|
)]
|
||||||
|
|
||||||
#[macro_use]
|
#[macro_use]
|
||||||
extern crate syn;
|
extern crate syn;
|
||||||
|
|||||||
Reference in New Issue
Block a user