xref: /linux/.clippy.toml (revision 2b624a2c18656ea32e0849e7bc0018ba3c97ca64)
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