Skip to content

Commit

Permalink
Ignore must_use_candidate pedantic lint
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Oct 17, 2019
1 parent fe8f8bc commit 5db72b8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions serde/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@
doc_markdown,
// false positive
needless_doctest_main,
// noisy
must_use_candidate,
)
)]
// Rustc lints.
Expand Down
1 change: 1 addition & 0 deletions serde_derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
items_after_statements,
match_same_arms,
module_name_repetitions,
must_use_candidate,
similar_names,
single_match_else,
too_many_lines,
Expand Down
1 change: 1 addition & 0 deletions serde_test/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,7 @@
empty_line_after_outer_attr,
missing_docs_in_private_items,
module_name_repetitions,
must_use_candidate,
redundant_field_names,
use_debug,
use_self
Expand Down

0 comments on commit 5db72b8

Please sign in to comment.