Skip to content

Commit

Permalink
chore: ignore broken clippy::needless_return lint in latest nightlies
Browse files Browse the repository at this point in the history
Our problem was already reported and is being tracked upstream at
rust-lang/rust-clippy#13458.
  • Loading branch information
AlexTMjugador committed Oct 6, 2024
1 parent d4d529f commit 369252b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ unsafe_op_in_unsafe_fn = "deny"
#pedantic = "warn" # TODO too pedantic for now, fix the warnings and re-enable this sooner than later
cargo = { level = "warn", priority = -1 }
multiple_crate_versions = "allow" # Introduces much noise, not better than cargo deny
# Workaround for a recent nightly Clippy regression: https://github.com/rust-lang/rust-clippy/issues/13458
needless_return = "allow"

[workspace.lints.rustdoc]
invalid_html_tags = "deny"
Expand Down

0 comments on commit 369252b

Please sign in to comment.