mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 21:53:23 +00:00
493498b65f
Makes it codegen once instead of three times
13 lines
692 B
TOML
13 lines
692 B
TOML
avoid-breaking-exported-api = false
|
|
|
|
[[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"
|