about summary refs log tree commit diff
path: root/crates/syntax
diff options
context:
space:
mode:
authorTetsuharu Ohzeki <tetsuharu.ohzeki@gmail.com>2023-12-29 23:22:29 +0900
committerTetsuharu Ohzeki <tetsuharu.ohzeki@gmail.com>2023-12-29 23:51:32 +0900
commitefc87092b3d9e350f12b87f5e3823bc44561ba9b (patch)
tree9ba94ed711cbe67eee4e6a9c128a29a0c43fc2aa /crates/syntax
parent25444cdd04eb07d4500be73b82eb3bd4f3eec8c5 (diff)
downloadrust-efc87092b3d9e350f12b87f5e3823bc44561ba9b.tar.gz
rust-efc87092b3d9e350f12b87f5e3823bc44561ba9b.zip
Use Cargo's [workspace.lints.*] to config clippy
Diffstat (limited to 'crates/syntax')
-rw-r--r--crates/syntax/Cargo.toml3
-rw-r--r--crates/syntax/fuzz/Cargo.toml3
2 files changed, 6 insertions, 0 deletions
diff --git a/crates/syntax/Cargo.toml b/crates/syntax/Cargo.toml
index 1cb9a4aedc5..40a93fec2ce 100644
--- a/crates/syntax/Cargo.toml
+++ b/crates/syntax/Cargo.toml
@@ -42,3 +42,6 @@ sourcegen.workspace = true
 
 [features]
 in-rust-tree = ["rustc-dependencies/in-rust-tree"]
+
+[lints]
+workspace = true
\ No newline at end of file
diff --git a/crates/syntax/fuzz/Cargo.toml b/crates/syntax/fuzz/Cargo.toml
index 6070222f1f1..ebf538aa247 100644
--- a/crates/syntax/fuzz/Cargo.toml
+++ b/crates/syntax/fuzz/Cargo.toml
@@ -24,3 +24,6 @@ path = "fuzz_targets/parser.rs"
 [[bin]]
 name = "reparse"
 path = "fuzz_targets/reparse.rs"
+
+[lints]
+workspace = true
\ No newline at end of file