Auto merge of #16211 - tetsuharuohzeki:update-lint, r=Veykril

Use Cargo's [workspace.lints.*] to config clippy

This change begin to use [`[workspace.lints.*]`](https://doc.rust-lang.org/cargo/reference/workspaces.html#the-lints-table) that is stabilized since [Rust 1.74](https://blog.rust-lang.org/2023/11/16/Rust-1.74.0.html).

By this change, we make the configure more readable and simplify `xargo lint` more.
This commit is contained in:
bors 2024-01-02 14:53:22 +00:00
commit 86e559bf3f
44 changed files with 134 additions and 2 deletions

View file

@ -42,3 +42,6 @@ sourcegen.workspace = true
[features]
in-rust-tree = ["rustc-dependencies/in-rust-tree"]
[lints]
workspace = true

View file

@ -24,3 +24,6 @@ path = "fuzz_targets/parser.rs"
[[bin]]
name = "reparse"
path = "fuzz_targets/reparse.rs"
[lints]
workspace = true