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