Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Add a non-style lint exclusion (#36658)

Kirill Bulatovcde0a5dd27c7
diff --git a/Cargo.toml b/Cargo.toml
index 400ce791aa4..b13795e1e19 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -802,7 +802,10 @@ unexpected_cfgs = { level = "allow" }
dbg_macro = "deny"
todo = "deny"
-# trying this out
+# This is not a style lint, see https://github.com/rust-lang/rust-clippy/pull/15454
+# Remove when the lint gets promoted to `suspicious`.
+declare_interior_mutable_const = "deny"
+
redundant_clone = "deny"
# We currently do not restrict any style rules