2021-06-03 01:41:37 -05:00
|
|
|
avoid-breaking-exported-api = false
|
2023-11-16 12:13:24 -06:00
|
|
|
|
|
|
|
# use the various `span_lint_*` methods instead, which also add a link to the docs
|
|
|
|
disallowed-methods = [
|
2024-01-15 21:29:28 -06:00
|
|
|
"rustc_lint::context::LintContext::span_lint",
|
2023-11-16 12:13:24 -06:00
|
|
|
"rustc_middle::ty::context::TyCtxt::struct_span_lint_hir"
|
|
|
|
]
|