about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/back/write.rs
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
commit06090e89d3007b4877f14267ed9cc02447332a5a (patch)
tree7a07f86870fc3606255496d8fcbdb273beae5093 /compiler/rustc_codegen_llvm/src/back/write.rs
parente08cd3cf05e5bfa3323cc21ea8f81f4a15a2f969 (diff)
downloadrust-06090e89d3007b4877f14267ed9cc02447332a5a.tar.gz
rust-06090e89d3007b4877f14267ed9cc02447332a5a.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_codegen_llvm/src/back/write.rs')
0 files changed, 0 insertions, 0 deletions