Skip to content

Commit ff0f467

Browse files
committed
Opt in to pedantic clippy lints in serde_derive_internals
1 parent d1975f3 commit ff0f467

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

‎serde_derive_internals/lib.rs‎

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
#![doc(html_root_url = "https://docs.rs/serde_derive_internals/0.25.0")]
22
#![allow(unknown_lints, bare_trait_objects)]
3-
#![deny(clippy::all)]
3+
#![deny(clippy::all, clippy::pedantic)]
4+
// Ignored clippy lints
45
#![allow(
56
clippy::cognitive_complexity,
67
clippy::redundant_field_names,
@@ -11,6 +12,18 @@
1112
// clippy bug: https://github.com/rust-lang/rust-clippy/issues/5704
1213
clippy::unnested_or_patterns,
1314
)]
15+
// Ignored clippy_pedantic lints
16+
#![allow(
17+
clippy::doc_markdown,
18+
clippy::enum_glob_use,
19+
clippy::items_after_statements,
20+
clippy::match_same_arms,
21+
clippy::missing_errors_doc,
22+
clippy::must_use_candidate,
23+
clippy::struct_excessive_bools,
24+
clippy::too_many_lines,
25+
clippy::wildcard_imports
26+
)]
1427

1528
#[macro_use]
1629
extern crate syn;

0 commit comments

Comments
 (0)