summaryrefslogtreecommitdiff
path: root/.clippy.toml
diff options
context:
space:
mode:
Diffstat (limited to '.clippy.toml')
-rw-r--r--.clippy.toml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.clippy.toml b/.clippy.toml
index e4c4eef10b28..137f41d203de 100644
--- a/.clippy.toml
+++ b/.clippy.toml
@@ -1,9 +1,11 @@
# SPDX-License-Identifier: GPL-2.0
+msrv = "1.78.0"
+
check-private-items = true
disallowed-macros = [
# The `clippy::dbg_macro` lint only works with `std::dbg!`, thus we simulate
# it here, see: https://github.com/rust-lang/rust-clippy/issues/11303.
- { path = "kernel::dbg", reason = "the `dbg!` macro is intended as a debugging tool" },
+ { path = "kernel::dbg", reason = "the `dbg!` macro is intended as a debugging tool", allow-invalid = true },
]