Skip to content

Commit

Permalink
Opt in to pedantic clippy lints in serde_derive_internals
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jan 25, 2021
1 parent d1975f3 commit ff0f467
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion serde_derive_internals/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#![doc(html_root_url = "https://docs.rs/serde_derive_internals/0.25.0")]
#![allow(unknown_lints, bare_trait_objects)]
#![deny(clippy::all)]
#![deny(clippy::all, clippy::pedantic)]
// Ignored clippy lints
#![allow(
clippy::cognitive_complexity,
clippy::redundant_field_names,
Expand All @@ -11,6 +12,18 @@
// clippy bug: https://github.com/rust-lang/rust-clippy/issues/5704
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]
extern crate syn;
Expand Down

0 comments on commit ff0f467

Please sign in to comment.