mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-11-03 05:13:35 +00:00
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:
commit
86e559bf3f
44 changed files with 134 additions and 2 deletions
|
|
@ -42,3 +42,6 @@ sourcegen.workspace = true
|
|||
|
||||
[features]
|
||||
in-rust-tree = ["rustc-dependencies/in-rust-tree"]
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
|
@ -24,3 +24,6 @@ path = "fuzz_targets/parser.rs"
|
|||
[[bin]]
|
||||
name = "reparse"
|
||||
path = "fuzz_targets/reparse.rs"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
Loading…
Add table
Add a link
Reference in a new issue