about summary refs log tree commit diff
path: root/compiler/rustc_interface/src
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2025-02-02 13:54:50 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2025-02-02 13:57:34 +1100
commitd30f045fcea5aad9af8abc8529ad5080387c4bd9 (patch)
treeb0759eebf3a5d526560cbaecec17a6b4ee775b4f /compiler/rustc_interface/src
parent9c8fe3078e26f95524e4f032e3f46591740a1fc5 (diff)
downloadrust-d30f045fcea5aad9af8abc8529ad5080387c4bd9.tar.gz
rust-d30f045fcea5aad9af8abc8529ad5080387c4bd9.zip
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.
Diffstat (limited to 'compiler/rustc_interface/src')
0 files changed, 0 insertions, 0 deletions