about summary refs log tree commit diff
path: root/src/tools/clippy/clippy.toml
blob: d9bcfd17606e4dbe1d4cc4f09e2657c71c4a9dee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
avoid-breaking-exported-api = false

check-inconsistent-struct-field-initializers = true

lint-commented-code = true

[[disallowed-methods]]
path = "rustc_lint::context::LintContext::lint"
reason = "this function does not add a link to our documentation; please use the `clippy_utils::diagnostics::span_lint*` functions instead"

[[disallowed-methods]]
path = "rustc_lint::context::LintContext::span_lint"
reason = "this function does not add a link to our documentation; please use the `clippy_utils::diagnostics::span_lint*` functions instead"

[[disallowed-methods]]
path = "rustc_middle::ty::context::TyCtxt::node_span_lint"
reason = "this function does not add a link to our documentation; please use the `clippy_utils::diagnostics::span_lint_hir*` functions instead"