diff options
| author | bors <bors@rust-lang.org> | 2023-11-15 07:27:46 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-11-15 07:27:46 +0000 |
| commit | 662ea3f9f467b22c4cabea2f664825fe58184622 (patch) | |
| tree | 40d9d065c4a3216d6e09c626b8e60d1101050e99 /tests/rustdoc-js-std/parser-errors.js | |
| parent | 783b914fae9c61cdb4c3549e5df7fcbf0caf99e5 (diff) | |
| parent | 19eec0b7cc55e29d413da60b72a2e0eaa72eded8 (diff) | |
| download | rust-662ea3f9f467b22c4cabea2f664825fe58184622.tar.gz rust-662ea3f9f467b22c4cabea2f664825fe58184622.zip | |
Auto merge of #11811 - y21:avoid_cx_struct_span_lint, r=Manishearth
disallow calls to `LintContext::struct_span_lint` and `TyCtxt::struct_span_lint_hir` `LintContext::struct_span_lint` and `TyCtxt::struct_span_lint_hir` don't show the link to the clippy documentation, see: #11805 In #11810, the last few calls to those methods were replaced with `span_lint_*`. It seems like we should just disallow them altogether so that no new code tries to use them. The existing `disallowed_methods` lint makes this easy. changelog: none
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions
