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