Skip to content

Conversation

brson
Copy link
Contributor

@brson brson commented Jan 25, 2014

Android bots are OOMing.

bors added a commit that referenced this pull request Jan 26, 2014
@bors bors closed this Jan 26, 2014
@bors bors merged commit 2d27ad1 into rust-lang:master Jan 26, 2014
flip1995 pushed a commit to flip1995/rust that referenced this pull request Nov 16, 2023
…shearth

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: rust-lang#11805

In rust-lang#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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants