Disable `clippy::assigning_clones` lint. (#331)

Enabling
[`assigning_clones`](https://rust-lang.github.io/rust-clippy/master/index.html#/assigning_clones)
by default in Rust 1.78 was a mistake which was reversed in a week in
[rust-clippy#12779](https://github.com/rust-lang/rust-clippy/pull/12779).

We can disable it locally until the upstream fix arrives to stable Rust.
This commit is contained in:
Kaur Kuut 2024-06-03 16:35:03 +02:00 committed by GitHub
parent a2045f1356
commit 5b200876c3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,8 @@ homepage = "https://xilem.dev/"
[workspace.lints]
clippy.semicolon_if_nothing_returned = "warn"
# Remove assigning_clones once it's allowed by default in stable Rust
# https://github.com/rust-lang/rust-clippy/pull/12779
clippy.assigning_clones = "allow"
rust.unexpected_cfgs = { level = "warn", check-cfg = ['cfg(FALSE)', 'cfg(tarpaulin_include)'] }