diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-02-02 13:54:50 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2025-02-02 13:57:34 +1100 |
| commit | d30f045fcea5aad9af8abc8529ad5080387c4bd9 (patch) | |
| tree | b0759eebf3a5d526560cbaecec17a6b4ee775b4f /compiler/rustc_interface/src | |
| parent | 9c8fe3078e26f95524e4f032e3f46591740a1fc5 (diff) | |
| download | rust-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
