xref: /linux/.clippy.toml (revision 2a87f8b075ea0ba33d3809aee7980c019f920bd6)
1# SPDX-License-Identifier: GPL-2.0
2
3msrv = "1.78.0"
4
5check-private-items = true
6
7disallowed-macros = [
8    # The `clippy::dbg_macro` lint only works with `std::dbg!`, thus we simulate
9    # it here, see: https://github.com/rust-lang/rust-clippy/issues/11303.
10    { path = "kernel::dbg", reason = "the `dbg!` macro is intended as a debugging tool" },
11]
12