about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2025-02-02 18:05:24 +0100
committerGitHub <noreply@github.com>2025-02-02 18:05:24 +0100
commitf8d702bf2db123d5267766d41b48a4930a737604 (patch)
treebe27e485a283f0f037ea465cfdcfc47b1c439af3 /compiler/rustc_interface/src
parent56b5d112402036544650880b9584f72e03ee31f5 (diff)
parentd30f045fcea5aad9af8abc8529ad5080387c4bd9 (diff)
downloadrust-f8d702bf2db123d5267766d41b48a4930a737604.tar.gz
rust-f8d702bf2db123d5267766d41b48a4930a737604.zip
Rollup merge of #136422 - nnethercote:convert-lint-functions, r=Noratrieb
Convert two `rustc_middle::lint` functions to `Span` methods.

`rustc_middle` is a huge crate and it's always good to move stuff out of it. There are lots of similar methods already on `Span`, so these two functions, `in_external_macro` and `is_from_async_await`, fit right in. The diff is big because `in_external_macro` is used a lot by clippy lints.

r? ``@Noratrieb``
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions