linux/.clippy.toml
<<
>>
Prefs
   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", allow-invalid = true },
  11]
  12