diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2025-02-02 18:05:24 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-02 18:05:24 +0100 |
| commit | 5bc582763637e5bcd12147ee89be972e814985b8 (patch) | |
| tree | 9220df4a4d4856ccf3ead588d53fed1db227c4cd /compiler/rustc_codegen_llvm/src/back/write.rs | |
| parent | 7e3d872bc061975683a158b115ae6d5d7401a66f (diff) | |
| parent | 06090e89d3007b4877f14267ed9cc02447332a5a (diff) | |
| download | rust-5bc582763637e5bcd12147ee89be972e814985b8.tar.gz rust-5bc582763637e5bcd12147ee89be972e814985b8.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_codegen_llvm/src/back/write.rs')
0 files changed, 0 insertions, 0 deletions
