2021-06-03 01:41:37 -05:00
|
|
|
avoid-breaking-exported-api = false
|
2023-11-16 12:13:24 -06:00
|
|
|
|
2024-07-05 17:51:58 -05:00
|
|
|
[[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"
|
|
|
|
|
2024-03-09 12:40:39 -06:00
|
|
|
[[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"
|