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