summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/clippy.toml
blob: 4a1805f75235e7461d5ae6fbfddc94f36a5304ba (plain)
1
2
3
4
5
6
7
avoid-breaking-exported-api = false

# use the various `span_lint_*` methods instead, which also add a link to the docs
disallowed-methods = [
    "rustc_lint::context::LintContext::struct_span_lint",
    "rustc_middle::ty::context::TyCtxt::struct_span_lint_hir"
]