rust/clippy.toml

8 lines
282 B
TOML

avoid-breaking-exported-api = false
# use the various `clippy_utils::diagnostics::span_lint_*` functions instead, which also add a link to the docs
disallowed-methods = [
"rustc_lint::context::LintContext::span_lint",
"rustc_middle::ty::context::TyCtxt::node_span_lint",
]